Name | CVE-2025-27111 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1099546 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-rack (PTS) | bullseye (security), bullseye | 2.1.4-3+deb11u2 | vulnerable |
bookworm, bookworm (security) | 2.2.6.4-1+deb12u1 | vulnerable | |
trixie | 3.0.8-4 | vulnerable | |
sid | 3.1.9-2 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-rack | source | (unstable) | (unfixed) | 1099546 |
[bullseye] - ruby-rack <postponed> (Minor issue, log injection)
https://github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6v
Fixed by: https://github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3 (v2.2.12)
Fixed by: https://github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53 (v3.0.13)
Fixed by: https://github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30b (v3.1.11)