CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NMedium (5.3) in rack rack. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in rack 2.2.20, 3.1.18, 3.2.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Nrack (RubyGems): fixed in 2.2.20, 3.1.18, 3.2.3Explain CVE-2025-61780 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61780?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61780?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-61780 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.20 |
| rack:rack | from 3.0.0 before 3.1.18 |
| rack:rack | from 3.2.0 before 3.2.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-r657-rxjc-j557 | RubyGems | rack | <2.2.20 | 2.2.20 |
| GHSA-r657-rxjc-j557 | RubyGems | rack | >=3.0 <3.1.18 | 3.1.18 |
| GHSA-r657-rxjc-j557 | RubyGems | rack | >=3.2 <3.2.3 | 3.2.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ruby-rack | 2.1.4-3+deb11u4 | DLA-4357-1 |
| Debian | 12 | ruby-rack | 2.2.20-0+deb12u1 | DEBIAN-CVE-2025-61780 DSA-6048-1 |
| Debian | 13 | ruby-rack | 3.1.18-1~deb13u1 | DEBIAN-CVE-2025-61780 DSA-6048-1 |
| Debian | 14 | ruby-rack | 3.1.18-1 | DEBIAN-CVE-2025-61780 |
| Ubuntu | 22.04:LTS | ruby-rack | 2.1.4-5ubuntu1.2 | UBUNTU-CVE-2025-61780 |
| Ubuntu | 24.04:LTS | ruby-rack | 2.2.7-1ubuntu0.5 | UBUNTU-CVE-2025-61780 |
| Ubuntu | 25.10 | ruby-rack | 3.1.16-0.1ubuntu0.1 | UBUNTU-CVE-2025-61780 |
| Ubuntu | Pro:14.04:LTS | ruby-rack | no fix listed | UBUNTU-CVE-2025-61780 |
| Ubuntu | Pro:16.04:LTS | ruby-rack | 1.6.4-3ubuntu0.2+esm9 | UBUNTU-CVE-2025-61780 |
| Ubuntu | Pro:18.04:LTS | ruby-rack | 1.6.4-4ubuntu0.2+esm9 | UBUNTU-CVE-2025-61780 |
| Ubuntu | Pro:20.04:LTS | ruby-rack | 2.0.7-2ubuntu0.1+esm8 | UBUNTU-CVE-2025-61780 |
| SUSE | Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise High Availability Extension 15 SP5 and 2 more | rubygem-rack | 2.2.20-150000.3.34.1 | SUSE-SU-2025:4273-1 |
| openSUSE | Leap 15.6 | rubygem-rack | 2.2.20-150000.3.34.1 | SUSE-SU-2025:4273-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Moderate.
This vulnerability is classified as Moderate severity primarily because exploitation requires a specific deployment scenario meeting all of the following conditions:
- The application must use Rack::Sendfile behind a proxy that supports x-accel-redirect (eg. Nginx)
- The proxy must not consistently set or remove the relevant x-sendfile-type and x-accel-mapping headers
- The application must expose endpoints returning objects responding to .to_path.
Exploitation could allow attackers to bypass proxy-enforced access controls and reach internal routes.
~~~
CVSS Assessment:
Scope (S:C): Changed — the attack affects the proxy's interpretation of internal routes, which is outside the original application scope.
Confidentiality (C:L): Low — attacker can only see internal endpoints, but does not allow arbitrary file access or sensitive data exposure.
~~~
~~~
Affectedness:
Ruby 2.x and 3.x versions shipped with Red Hat Enterprise Linux, Red Hat Openshift Core OS (RHOCS) and Red Hat In-Vehicle OS (RHIVOS) are not affected, as they do not bundle the rack RubyGem by default. Rack is a third-party gem that must be installed separately.
~~~
No mitigation is currently available that meets Red Hat Product Security's standards for usability, deployment, applicability, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Logging Subsystem for Red Hat OpenShift | openshift-logging/cluster-logging-operator-bundle | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/cluster-logging-rhel9-operator | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/eventrouter-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/fluentd-rhel8 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/fluentd-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/log-file-metric-exporter-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-view-plugin-rhel9 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/vector-rhel9 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/grafana-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-cni-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-must-gather-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-operator-bundle | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-rhel8-operator | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/pilot-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/proxyv2-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/ratelimit-rhel8 | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp21/zync | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp22/zync | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp24/zync | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp25/zync | Fix deferred | |
| 27 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-61780.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).