Vulnerability
CVE-2025-27111
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.
26 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2-2025-2822
Amazon Linux 2 2017.12 - ALAS2-2025-2822: medium priority package update for pcs
- CGA-2vpr-2crp-vv58
- CGA-399j-wx66-h65g
- CGA-5cq5-gmhg-c47w
- CGA-fxvp-jr3r-h4jf
- CGA-hvpq-v9f9-6m7p
- CGA-jmjr-v959-2qjf
- CGA-prqv-r367-fcfq
- CGA-x43j-gjqw-gwgf
- CGA-xm7p-8295-hmw9
- CGA-xxvj-9ww5-33vw
-
DEBIAN-CVE-2025-27111
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…
-
DLA-4090-1
ruby-rack - security update
-
DSA-5886-1
ruby-rack - security update
-
GHSA-8cgq-6mh2-7j6v
Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
-
OESA-2025-1299
rubygem-rack security update
-
RHVEX-CVE-2025-27111
rack: rubygem-rack: Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
-
SUSE-SU-2025:0874-1
Security update for rubygem-rack
-
SUSE-SU-2025:1492-1
Security update for rubygem-rack-1_6
-
UBUNTU-CVE-2025-27111
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…
-
USN-7366-1
ruby-rack vulnerabilities
-
USN-7366-2
ruby-rack vulnerabilities
-
openSUSE-SU-2025:14859-1
ruby3.4-rubygem-rack-2.2-2.2.12-1.1 on GA media
-
openSUSE-SU-2025:14875-1
ruby3.4-rubygem-rack-3.1.12-1.1 on GA media
-
openSUSE-SU-2026:10286-1
ruby4.0-rubygem-rack-2.2-2.2.22-1.1 on GA media
-
openSUSE-SU-2026:10358-1
ruby4.0-rubygem-rack-3.1.18-1.3 on GA media
References
- 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
- https://lists.debian.org/debian-lts-announce/2025/03/msg00016.html