Possible Log Injection in Rack::CommonLogger
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| rack | rack | affected |
|
Configuration 1 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | |||
| pcs-0:0.11.9-2.el9 | cpe:/a:redhat:enterprise_linux:9::highavailability | RHSA-2025:7085 | 2025-05-13T00:00:00Z |
| RHOL-5.9-RHEL-9 | |||
| openshift-logging/cluster-logging-operator-bundle:v5.9.12-13 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/cluster-logging-rhel9-operator:v5.9.12-6 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/eventrouter-rhel9:v0.4.0-341 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/fluentd-rhel9:v5.9.12-3 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-322 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/logging-loki-rhel9:v3.3.2-16 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/logging-view-plugin-rhel9:v5.9.12-3 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/loki-operator-bundle:v5.9.12-11 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/loki-rhel9-operator:v5.9.12-4 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/lokistack-gateway-rhel9:v0.1.0-735 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/opa-openshift-rhel9:v0.1.0-351 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
| openshift-logging/vector-rhel9:v0.34.1-33 | cpe:/a:redhat:logging:5.9::el9 | RHSA-2025:1985 | 2025-03-05T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4090-1 | ruby-rack security update |
Debian DSA |
DSA-5886-1 | ruby-rack security update |
EUVD |
EUVD-2025-4075 | 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. |
Github GHSA |
GHSA-7g2v-jj9q-g3rg | Possible Log Injection in Rack::CommonLogger |
Ubuntu USN |
USN-7366-1 | Rack vulnerabilities |
Ubuntu USN |
USN-7366-2 | Rack vulnerabilities |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.2% (1.185% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Rack
Rack rack |
|
| CPEs | cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* | |
| Vendors & Products |
Rack
Rack rack |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat enterprise Linux
|
|
| CPEs | cpe:/a:redhat:enterprise_linux:9::highavailability | |
| Vendors & Products |
Redhat enterprise Linux
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat logging |
|
| CPEs | cpe:/a:redhat:logging:5.9::el9 | |
| Vendors & Products |
Redhat
Redhat logging |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.11, 3.0.12, and 3.1.11, 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.11 contain a fix. | 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. |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.11, 3.0.12, and 3.1.11, 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.11 contain a fix. | |
| Title | Possible Log Injection in Rack::CommonLogger | |
| Weaknesses | CWE-117 CWE-93 |
|
| References |
| |
| Metrics |
cvssV4_0
|