CVSS 4.0
5.7 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:PMedium (5.7) in rack rack. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in rack 2.2.11, 3.0.12, 3.1.10.
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/E:PCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:Nrack (RubyGems): fixed in 2.2.11, 3.0.12, 3.1.10Explain CVE-2025-25184 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-25184?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-25184?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-25184 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| rack:rack | before 2.2.11 |
| rack:rack | from 3.0.0 before 3.0.12 |
| rack:rack | from 3.1.0 before 3.1.10 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7g2v-jj9q-g3rg | RubyGems | rack | <2.2.11 | 2.2.11 |
| GHSA-7g2v-jj9q-g3rg | RubyGems | rack | >=3.0 <3.0.12 | 3.0.12 |
| GHSA-7g2v-jj9q-g3rg | RubyGems | rack | >=3.1 <3.1.10 | 3.1.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ruby-rack | 2.1.4-3+deb11u3 | DLA-4090-1 |
| Debian | 12 | ruby-rack | 2.2.13-1~deb12u1 | DEBIAN-CVE-2025-25184 DSA-5886-1 |
| Debian | 13, 14 | ruby-rack | 3.1.12-1 | DEBIAN-CVE-2025-25184 |
| Ubuntu | 24.04:LTS | ruby-rack | 2.2.7-1ubuntu0.2 | UBUNTU-CVE-2025-25184 USN-7366-1 |
| Ubuntu | 25.04 | ruby-rack | 2.2.7-1.1ubuntu0.25.04.2 | USN-7366-2 |
| Ubuntu | 25.10, 26.04:LTS | ruby-rack | 3.1.16-0.1 | UBUNTU-CVE-2025-25184 |
| Ubuntu | Pro:14.04:LTS | ruby-rack | 1.5.2-3+deb8u3ubuntu1~esm9 | UBUNTU-CVE-2025-25184 USN-7366-1 |
| Ubuntu | Pro:16.04:LTS | ruby-rack | 1.6.4-3ubuntu0.2+esm7 | UBUNTU-CVE-2025-25184 USN-7366-1 |
| Ubuntu | Pro:18.04:LTS | ruby-rack | 1.6.4-4ubuntu0.2+esm7 | UBUNTU-CVE-2025-25184 USN-7366-1 |
| Ubuntu | Pro:20.04:LTS | ruby-rack | 2.0.7-2ubuntu0.1+esm6 | UBUNTU-CVE-2025-25184 USN-7366-1 |
| Ubuntu | Pro:22.04:LTS | ruby-rack | 2.1.4-5ubuntu1.1+esm1 | UBUNTU-CVE-2025-25184 USN-7366-1 |
| Red Hat | enterprise_linux:9::highavailability, enterprise_linux:9::resilientstorage | pcs, pcs-snmp | 0:0.11.9-2.el9 | RHSA-2025:7085 |
| SUSE | Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise High Availability Extension 15 SP5 and 1 more | rubygem-rack | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| openSUSE | Leap 15.6 | rubygem-rack | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| openSUSE | Leap 15.6 | rubygem-rack-1_6 | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| openSUSE | Tumbleweed | rubygem-rack | 3.1.12-1.1 | openSUSE-SU-2025:14875-1 |
| openSUSE | Tumbleweed | rubygem-rack | 3.1.18-1.3 | openSUSE-SU-2026:10358-1 |
| openSUSE | Tumbleweed | rubygem-rack-2.2 | 2.2.11-1.1 | openSUSE-SU-2025:14811-1 |
| openSUSE | Tumbleweed | rubygem-rack-2.2 | 2.2.22-1.1 | openSUSE-SU-2026:10286-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
A moderate-impact log injection flaw was found in the rubygem-rack package, which ships in Red Hat Enterprise Linux 9 (the pcs component and the ruby-30, ruby-31, and ruby-33 container images) and is used by other Red Hat offerings, including Red Hat Satellite 6, Red Hat 3scale API Management Platform 2, OpenShift Logging, Red Hat Insights, and Hosted OpenShift, as well as Fedora and EPEL community streams. When a user authenticates via Rack::Auth::Basic, the supplied username is stored in the request environment and later written to the log file by Rack::CommonLogger. If an application allows usernames containing carriage return and line feed (CRLF) or other whitespace characters, or logs every login attempt, an attacker who controls such a username can inject forged entries into the log file, breaking log formats, obscuring real activity, or inserting malicious data into log files. The impact is limited to the integrity of log data: Red Hat and NIST both rate this flaw Moderate with a CVSS 3.1 base score of 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N), in line with the upstream CVSS 4.0 score of 5.7, also Moderate. Red Hat Enterprise Linux 10 is not affected because the vulnerable code is not present in that release. For the affected Red Hat Enterprise Linux 9 components and other delegated product and community streams, fixes are being pursued by the respective maintainers; for Red Hat 3scale API Management Platform 2 the maintainers decided not to fix the issue. For Red Hat Satellite 6.16 and 6.17 and the Red Hat Insights compliance-backend the fix is deferred, and the residual risk is limited to manipulation of log content by an authenticated user, with no direct impact on confidentiality or availability of the system itself.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | pcs-0:0.11.9-2.el9 | Fixed 2025-05-13 | RHSA-2025:7085 |
| RHOL-5.9-RHEL-9 | openshift-logging/cluster-logging-operator-bundle:v5.9.12-13 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/cluster-logging-rhel9-operator:v5.9.12-6 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/eventrouter-rhel9:v0.4.0-341 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/fluentd-rhel9:v5.9.12-3 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-322 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/logging-loki-rhel9:v3.3.2-16 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/logging-view-plugin-rhel9:v5.9.12-3 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/loki-operator-bundle:v5.9.12-11 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/loki-rhel9-operator:v5.9.12-4 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/lokistack-gateway-rhel9:v0.1.0-735 | Fixed 2025-03-05 | RHSA-2025:1985 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel9 | Will not fix | |
| Red Hat Enterprise Linux 10 | pcs | Not affected | |
| Red Hat Enterprise Linux 7 | pcs | Out of support scope | |
| Red Hat Enterprise Linux 8 | pcs | Out of support scope | |
| Red Hat Enterprise Linux 9 | ruby-30 | Affected | |
| Red Hat Enterprise Linux 9 | ruby-31 | Affected | |
| Red Hat Enterprise Linux 9 | ruby-33 | Affected | |
| Red Hat Satellite 6 | rubygem-rack | Fix deferred | |
| Red Hat Storage 3 | rubygem-rack | Out of support scope | |
| 2 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-25184.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.