CVE-2025-25184
CVSS v3
6.5
MEDIUM
EPSS Score
1.2 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for rack.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- rackRubyGemsfrom 3.1 · fixed in 3.1.10
Vendor advisories
rubygem-rack: Possible Log Injection in Rack::CommonLogger
3scale-amp2/zync-rhel9 as a component of Red Hat 3scale API Management Platform 2 · pcs as a component of Red Hat Enterprise Linux 7 · pcs-snmp as a component of Red Hat Enterprise Linux 7
Red Hat Security Advisory: pcs security update
Red Hat Security Advisory: Logging for Red Hat OpenShift - 5.9.12
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 purposes. The issue occurs when a server intentionally or unintentionally allows a user creation with the username contain CRLF and white space characters, or the server just want to log every login attempts. If an attacker enters a username with CRLF character, the logger will log the malicious username with CRLF characters into the logfile. Attackers can break log formats or insert fraudulent entries, potentially obscuring real activity or injecting malicious data into log files. Versions 2.2.11, 3.0.12, and 3.1.10 contain a fix.
Technical details
- Published
- 2025-02-12
Frequently asked questions
What is CVE-2025-25184?
Is CVE-2025-25184 actively exploited?
What is the CVSS score for CVE-2025-25184?
Running rack? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.