PT-2025-7051 · Rack+6 · Rack+6
Hexsave
·
Published
2025-02-12
·
Updated
2026-03-13
·
CVE-2025-25184
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Rack versions prior to 2.2.11, 3.0.12, and 3.1.11
Description
Rack provides an interface for developing web applications in Ruby. The issue occurs when a server intentionally or unintentionally allows a user creation with the username containing CRLF and white space characters, or the server just wants to log every login attempt. 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.
Recommendations
- Update to version 2.2.11 or later for Rack version 2.2.x
- Update to version 3.0.12 or later for Rack version 3.0.x
- Update to version 3.1.11 or later for Rack version 3.1.x
As a temporary workaround, consider restricting the use of
Rack::CommonLoggeruntil a patch is available. Avoid using theenv['REMOTE USER']variable in the affected API endpoint until the issue is resolved.
Exploit
Fix
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Debian
Linuxmint
Rack
Red Hat
Red Os
Suse
Ubuntu