Bug 2345301 (CVE-2025-25184)
Summary: | CVE-2025-25184 rubygem-rack: Possible Log Injection in Rack::CommonLogger | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> |
Component: | vulnerability | Assignee: | Product Security DevOps Team <prodsec-dev> |
Status: | NEW --- | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | akostadi, amasferr, anthomas, cbartlet, crizzo, dmayorov, ehelms, ggainey, jcantril, jlledo, juwatts, jvasik, kaycoth, mhulan, mkudlej, mmakovy, nmoumoul, osousa, pcreech, rblanco, rchan, rojacob, smallamp, tjochec, vmugicag |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: |
A flaw was found in the rubygem-rack package. When a user provides the authorization credentials via Rack::Auth::Basic, if successful, the username is placed in env['REMOTE_USER'] and later used by Rack::CommonLogger for logging purposes. 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 logs every login attempt. If an attacker enters a username with a CRLF character, the logger will log the malicious username with CRLF characters into the logfile. This flaw allows attackers to break log formats or insert fraudulent entries, potentially obscuring activity or injecting malicious data into log files.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2345709, 2345710, 2345712, 2345711 | ||
Bug Blocks: |
Description
OSIDB Bzimport
2025-02-12 17:01:27 UTC
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:7085 https://access.redhat.com/errata/RHSA-2025:7085 |