Log Injection Vulnerability in Rack Web Server Interface
CVE-2025-27111

6.9MEDIUM

Key Information:

Vendor

Rack

Status
Vendor
CVE Published:
4 March 2025

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

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-27111 : Log Injection Vulnerability in Rack Web Server Interface