CVE-2025-25184CRLF Injection in Rack

Severity
5.7MEDIUMNVD
EPSS
1.0%
top 22.56%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 12
Latest updateJul 23

Description

Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.11, 3.0.12, and 3.1.10, Rack::CommonLogger can be exploited by crafting input that includes newline characters to manipulate log entries. The supplied proof-of-concept demonstrates injecting malicious content into logs. When a user provides the authorization credentials via Rack::Auth::Basic, if success, the username will be put in env['REMOTE_USER'] and later be used by Rack::CommonLogger for logging purpo

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Affected Packages4 packages

debiandebian/ruby-rack< ruby-rack 2.2.13-1~deb12u1 (bookworm)
NVDrack/rack3.0.03.0.12+2
RubyGemsrack/rack3.03.0.12+2
CVEListV5rack/rack>= 3.0, < 3.0.12, >= 3.1, < 3.1.10+1

Patches

🔴Vulnerability Details

5
OSV
ruby-rack vulnerabilities2025-07-23
OSV
ruby-rack vulnerabilities2025-03-24
GHSA
Possible Log Injection in Rack::CommonLogger2025-02-12
OSV
Possible Log Injection in Rack::CommonLogger2025-02-12
OSV
CVE-2025-25184: Rack provides an interface for developing web applications in Ruby2025-02-12

📋Vendor Advisories

4
Ubuntu
Rack vulnerabilities2025-07-23
Ubuntu
Rack vulnerabilities2025-03-24
Red Hat
rubygem-rack: Possible Log Injection in Rack::CommonLogger2025-02-12
Debian
CVE-2025-25184: ruby-rack - Rack provides an interface for developing web applications in Ruby. Prior to ver...2025