Improper Output Neutralization for Logs in Rack - CVE-2025-27111

 

Improper Output Neutralization for Logs in Rack - CVE-2025-27111

Published: March 17, 2025


Vulnerability identifier: #VU105795
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-27111
CWE-ID: CWE-117
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Rack
Affected software:
Rack

Detailed vulnerability description

The vulnerability allows a remote attacker to manipulate log entries.

The vulnerability exists due to improper input validation of the X-Sendfile-Type header in Rack::Sendfile when handling. A remote attacker can send specially crafted data containing newline characters via the affected header and manipulate log files.


How to mitigate CVE-2025-27111

Install updates from vendor's website.

Sources