Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
Summary
Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
Original description
The description as published by the source.
Rack is a modular Ruby web server interface. The Rack::Sendfile middleware logs unsanitised header values from the X-Sendfile-Type header. An attacker can exploit this by injecting escape sequences (such as newline characters) into the header, resulting in log injection. This vulnerability is fixed in 2.2.12, 3.0.13, and 3.1.11.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-27111 ruby-rack Fixed in: 2.1.4-3+deb11u3
- Ubuntu UBUNTU-CVE-2025-27111 ruby-rack Fixed in: 1.5.2-3+deb8u3ubuntu1~esm9
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- web lists.debian.org