Log Injection Vulnerability in Rack Web Server Interface
CVE-2025-27111
6.9MEDIUM
What is CVE-2025-27111?
The Rack web server interface is vulnerable due to the Rack::Sendfile middleware logging unsanitized header values from the X-Sendfile-Type header. This improper handling allows attackers to inject escape sequences, such as newline characters, leading to log injection. Such an exploit could allow for maliciously crafted logs, potentially compromising server integrity. Users are advised to upgrade to versions 2.2.12, 3.0.13, and 3.1.11 to mitigate this issue.
Affected Version(s)
rack < 2.2.12 < 2.2.12
rack >= 3.0, < 3.0.13 < 3.0, 3.0.13
rack >= 3.1, < 3.1.11 < 3.1, 3.1.11