CVE-2025-27111CWE-117CWE-93

Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection

Medium · published March 4, 2025

CVSS v4.0
6.9
EPSS
1%
Percentile
54.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
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
EPSS
0.00750 · 54.4th percentile
Weaknesses
CWE-117 · Improper Output Neutralization for Logs; CWE-93 · Improper Neutralization of CRLF Sequences ('CRLF Injection')
Published
2025-03-04T15:26Z
EPSS history
Timeline
  • 04 MAR 15:26Z
    Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
    cvelistv5