Red Hat VEX
RHVEX-CVE-2025-27111
rack: rubygem-rack: Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
Details
A flaw was found in Rack Rubygem, where the Rack::Sendfile middleware logs unsanitized header values from the X-Sendfile-Type header. This flaw allows an attacker to inject escape sequences, such as newline characters, into the header, resulting in log injection.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | pcs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | pcs-snmp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-clufter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | pcs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | pcs-snmp | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2025-27111
- https://bugzilla.redhat.com/show_bug.cgi?id=2349810
- https://www.cve.org/CVERecord?id=CVE-2025-27111
- https://nvd.nist.gov/vuln/detail/CVE-2025-27111
- https://github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53
- https://github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30b
- https://github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3
- https://github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6v