CVE-2025-27111

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*

History

10 Oct 2025, 16:40

Type Values Removed Values Added
Summary
  • (es) Rack es una interfaz modular de servidor web Ruby. El middleware Rack::Sendfile registra valores de encabezado no depurados del encabezado X-Sendfile-Type. Un atacante puede aprovechar esto inyectando secuencias de escape (como caracteres de nueva línea) en el encabezado, lo que da como resultado la inyección de registros. Esta vulnerabilidad se corrigió en 2.2.12, 3.0.13 y 3.1.11.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
References () https://github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53 - () https://github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53 - Patch
References () https://github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30b - () https://github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30b - Patch
References () https://github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3 - () https://github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3 - Patch
References () https://github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6v - () https://github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6v - Vendor Advisory, Mitigation
First Time Rack
Rack rack

04 Mar 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-04 16:15

Updated : 2025-10-10 16:40


NVD link : CVE-2025-27111

Mitre link : CVE-2025-27111

CVE.ORG link : CVE-2025-27111


JSON object : View

Products Affected

rack

  • rack
CWE
CWE-93

Improper Neutralization of CRLF Sequences ('CRLF Injection')

CWE-117

Improper Output Neutralization for Logs