CVE-2025-27111Published Mar 4, 2025 · Mar 4Updated Oct 28
Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
rack
Medium6.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| rack RubyGems |
|
|
Original description
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.