CVE-2025-27111
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductRack
PublishedMar 4, 2025
First seenMar 4, 2025
Weakness typeCWE-93CWE-93CWE-117CWE-117
How to fix
Update
- rack rack2.2.12, 3.0.13, 3.1.11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rack rack | v < 2.2.12, 3.0.0 ≤ v < 3.0.13, 3.1.0 ≤ v < 3.1.11 | 2.2.12, 3.0.13, 3.1.11 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.