ADVISORIES

Red Hat VEX

RHVEX-CVE-2025-61780

rubygem-rack: Improper handling of headers in `Rack::Sendfile` may allow proxy bypass

Moderate No fix available CVE-2025-61780

Details

A potential information disclosure vulnerability has been identified in the RubyGem Rack affecting Rack::Sendfile when used behind a proxy that supports x-sendfile headers (e.g., Nginx). When processing untrusted x-sendfile-type or x-accel-mapping headers, the middleware could misinterpret them as proxy directives, causing the proxy to make unintended internal requests. An attacker could exploit this by sending crafted headers and requesting paths that trigger proxy-based acceleration, potentially accessing internal application endpoints that are normally protected. The issue does not allow arbitrary file reads, code execution, or denial of service.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10cockpit-ha-cluster
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:10pcs
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:10pcs-snmp
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:7pcs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7pcs-snmp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-clufter
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8pcs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8pcs-snmp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:9pcs
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:9pcs-snmp
All versions, no fix (fix deferred)

References