CVE-2025-27111 Details
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.
A log injection vulnerability has been identified in the Rack web server interface, specifically within the Sendfile middleware. This issue arises because the middleware logs unsanitized values from the X-Sendfile-Type header. An attacker can exploit this by injecting escape sequences, such as newline characters, into the header, leading to manipulated log entries. This vulnerability affects Rack versions prior to 2.2.12, as well as versions 3.0.0 through 3.0.12 and 3.1.0 through 3.1.10.
Users can update to Rack versions 2.2.12, 3.0.13, or 3.1.11 to address this vulnerability. Alternatively, remove the usage of Rack::Sendfile in the application.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-117 | Improper Output Neutralization for Logs | [email protected] |
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rack rack | < 2.2.12 >= 3.0.0, < 3.0.13 >= 3.1.0, < 3.1.11 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 10, 2025 | Initial Analysis | [email protected] |
| Mar 4, 2025 | New CVE Received | [email protected] |