CVE-2025-27111
published medium CVSS 4.0 · 6.9Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rack | — | rack< 2.2.12 · >= 3.0, < 3.0.13 · >= 3.1, < 3.1.11 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2822 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | ruby-rack | Advisory build | 2.2.13-1~deb12u1 | DSA-5886-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| Ubuntu | bionic | ruby-rack | Advisory build | 1.6.4-4ubuntu0.2+esm7 | USN-7366-1 |
| Amazon Linux | AL2 | pcsaarch64 | Listed in advisory | Not stated | ALAS2-2025-2822 |
| Debian | bullseye | ruby-rack | Advisory build | 2.1.4-3+deb11u3 | DLA-4090-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
Show 66 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-1_6aarch64 | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-1_6ppc64le | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-1_6s390x | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-1_6x86_64 | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-docaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-docppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-docs390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-docx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-doc-1_6aarch64 | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-doc-1_6ppc64le | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-doc-1_6s390x | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-doc-1_6x86_64 | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuiteaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuiteppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuites390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuitex86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuite-1_6aarch64 | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuite-1_6ppc64le | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuite-1_6s390x | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuite-1_6x86_64 | Advisory build | 1.6.8-150000.3.6.1 | SUSE-SU-2025:1492-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rackaarch64 | Advisory build | 3.1.12-1.1 | OPENSUSE-SU-2025:14875-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rackppc64le | Advisory build | 3.1.12-1.1 | OPENSUSE-SU-2025:14875-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-racks390x | Advisory build | 3.1.12-1.1 | OPENSUSE-SU-2025:14875-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rackx86_64 | Advisory build | 3.1.12-1.1 | OPENSUSE-SU-2025:14875-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rack-2.2aarch64 | Advisory build | 2.2.12-1.1 | OPENSUSE-SU-2025:14859-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rack-2.2ppc64le | Advisory build | 2.2.12-1.1 | OPENSUSE-SU-2025:14859-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rack-2.2s390x | Advisory build | 2.2.12-1.1 | OPENSUSE-SU-2025:14859-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rack-2.2x86_64 | Advisory build | 2.2.12-1.1 | OPENSUSE-SU-2025:14859-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rackaarch64 | Advisory build | 3.1.18-1.3 | OPENSUSE-SU-2026:10358-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rackppc64le | Advisory build | 3.1.18-1.3 | OPENSUSE-SU-2026:10358-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-racks390x | Advisory build | 3.1.18-1.3 | OPENSUSE-SU-2026:10358-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rackx86_64 | Advisory build | 3.1.18-1.3 | OPENSUSE-SU-2026:10358-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2aarch64 | Advisory build | 2.2.22-1.1 | OPENSUSE-SU-2026:10286-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2ppc64le | Advisory build | 2.2.22-1.1 | OPENSUSE-SU-2026:10286-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2s390x | Advisory build | 2.2.22-1.1 | OPENSUSE-SU-2026:10286-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2x86_64 | Advisory build | 2.2.22-1.1 | OPENSUSE-SU-2026:10286-1 |
| Ubuntu | focal | ruby-rack | Advisory build | 2.0.7-2ubuntu0.1+esm6 | USN-7366-1 |
| Ubuntu | jammy | ruby-rack | Advisory build | 2.1.4-5ubuntu1.1+esm1 | USN-7366-1 |
| Ubuntu | noble | ruby-rack | Advisory build | 2.2.7-1ubuntu0.2 | USN-7366-1 |
| Ubuntu | plucky | ruby-rack | Advisory build | 2.2.7-1.1ubuntu0.25.04.2 | USN-7366-2 |
| Ubuntu | trusty | librack-ruby | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm9 | USN-7366-1 |
| Ubuntu | trusty | librack-ruby1.8 | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm9 | USN-7366-1 |
| Ubuntu | trusty | librack-ruby1.9.1 | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm9 | USN-7366-1 |
| Ubuntu | trusty | ruby-rack | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm9 | USN-7366-1 |
| Ubuntu | xenial | ruby-rack | Advisory build | 1.6.4-3ubuntu0.2+esm7 | USN-7366-1 |
| Amazon Linux | AL2 | pcsi686 | Listed in advisory | Not stated | ALAS2-2025-2822 |
| Amazon Linux | AL2 | pcssrc | Listed in advisory | Not stated | ALAS2-2025-2822 |
| Amazon Linux | AL2 | pcsx86_64 | Listed in advisory | Not stated | ALAS2-2025-2822 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rack | rack | < 2.2.12 (affected)>= 3.0, < 3.0.13 (affected)>= 3.1, < 3.1.11 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')
- CWE-117 CWE-117: Improper Output Neutralization for Logs
References
5- 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
Provider assertions
3GitHub_M · cna
Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 86ad7d75947c0055aef7c25704715b3677026dedf75ae8926c5899f929292a79
- Ingested
- 23 Sep 2026, 08:42:34 UTC
- Source record
- Official CVE record