{"cve":"CVE-2025-27111","nvd":{"published":"2025-03-04T16:15:40.487","modified":"2026-06-17T09:03:03.390","status":"Modified","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.","cvss_v4":{"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","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-93","CWE-117"],"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"],"products":["rack:rack"],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2025-27111","score":0.0075,"percentile":0.54988,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8cgq-6mh2-7j6v","url":"https://osv.dev/vulnerability/GHSA-8cgq-6mh2-7j6v","summary":"Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection","modified":"2026-09-10T03:50:22.988112884Z","packages":[{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":["<2.2.12"],"fixed":["2.2.12"]},{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":[">=3.0 <3.0.13"],"fixed":["3.0.13"]},{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":[">=3.1 <3.1.11"],"fixed":["3.1.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}