{"id":"CVE-2025-27111","state":"PUBLISHED","title":"Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection","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.","publishedAt":"2025-03-04T15:26:55.377Z","updatedAt":"2025-11-03T21:13:11.046Z","severity":{"score":6.9,"label":"Medium","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["rack rack"],"affected":[{"vendor":"rack","product":"rack","versions":[{"version":"< 2.2.12","status":"affected"},{"version":">= 3.0, < 3.0.13","status":"affected"},{"version":">= 3.1, < 3.1.11","status":"affected"}]}],"references":["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","https://lists.debian.org/debian-lts-announce/2025/03/msg00016.html"],"weaknesses":["CWE-93","CWE-117"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/27xxx/CVE-2025-27111.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-27111","state":"PUBLISHED","datePublished":"2025-03-04T15:26:55.377Z","dateUpdated":"2025-11-03T21:13:11.046Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-02-18T16:44:48.766Z"},"containers":{"cna":{"title":"Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"rack","product":"rack","versions":[{"version":"< 2.2.12","status":"affected"},{"version":">= 3.0, < 3.0.13","status":"affected"},{"version":">= 3.1, < 3.1.11","status":"affected"}]}],"references":[{"url":"https://github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6v","name":"https://github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53","name":"https://github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53","tags":["x_refsource_MISC"]},{"url":"https://github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30b","name":"https://github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30b","tags":["x_refsource_MISC"]},{"url":"https://github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3","name":"https://github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-93","lang":"en","description":"CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-117","lang":"en","description":"CWE-117: Improper Output Neutralization for Logs","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-03-04T15:26:55.377Z"},"source":{"advisory":"GHSA-8cgq-6mh2-7j6v","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-04T15:44:28.099807Z","id":"CVE-2025-27111","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-04T15:44:37.460Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00016.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T21:13:11.046Z"}}]}}}