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

Wed, 05 Mar 2025 14:45:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

threat_severity

Moderate


Tue, 04 Mar 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 04 Mar 2025 15:45:00 +0000

Type Values Removed Values Added
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.
Title Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection
Weaknesses CWE-117
CWE-93
References
Metrics cvssV4_0

{'score': 6.9, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-03-04T15:44:37.460Z

Reserved: 2025-02-18T16:44:48.766Z

Link: CVE-2025-27111

cve-icon Vulnrichment

Updated: 2025-03-04T15:44:32.673Z

cve-icon NVD

Status : Received

Published: 2025-03-04T16:15:40.487

Modified: 2025-03-04T16:15:40.487

Link: CVE-2025-27111

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-03-04T15:26:55Z

Links: CVE-2025-27111 - Bugzilla