CVE-2025-27111
Publication date 4 March 2025
Last updated 16 October 2026
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| ruby-rack | 26.10 stonking |
Fixed in 3.1.16-0.1
|
| 26.04 LTS resolute |
Fixed in 3.1.16-0.1
|
|
| 24.04 LTS noble |
Fixed in 2.2.7-1ubuntu0.2
|
|
| 22.04 LTS jammy |
Fixed in 2.1.4-5ubuntu1.1+esm1
|
|
| 20.04 LTS focal |
Fixed in 2.0.7-2ubuntu0.1+esm6
|
|
| 18.04 LTS bionic |
Fixed in 1.6.4-4ubuntu0.2+esm7
|
|
| 16.04 LTS xenial |
Fixed in 1.6.4-3ubuntu0.2+esm7
|
|
| 14.04 LTS trusty |
Fixed in 1.5.2-3+deb8u3ubuntu1~esm9
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
CVSS version:
Base score
6.9 · Medium
Vector: 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
Base score
7.5 · High
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
Related Ubuntu Security Notices (USN)
- USN-7366-1
- Rack vulnerabilities
- 24 March 2025
- USN-7366-2
- Rack vulnerabilities
- 23 July 2025
Other references
- https://www.cve.org/CVERecord?id=CVE-2025-27111
- https://github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6v
- https://github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53
- https://github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30b
- https://github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3