Upstream information
Description
Rack is a modular Ruby web server interface. Prior to versions 2.2.20, 3.1.18, and 3.2.3, a possible information disclosure vulnerability existed in `Rack::Sendfile` when running behind a proxy that supports `x-sendfile` headers (such as Nginx). Specially crafted headers could cause `Rack::Sendfile` to miscommunicate with the proxy and trigger unintended internal requests, potentially bypassing proxy-level access restrictions. When `Rack::Sendfile` received untrusted `x-sendfile-type` or `x-accel-mapping` headers from a client, it would interpret them as proxy configuration directives. This could cause the middleware to send a "redirect" response to the proxy, prompting it to reissue a new internal request that was not subject to the proxy's access controls. An attacker could exploit this by setting a crafted `x-sendfile-type: x-accel-redirect` header, setting a crafted `x-accel-mapping` header, and requesting a path that qualifies for proxy-based acceleration. Attackers could bypass proxy-enforced restrictions and access internal endpoints intended to be protected (such as administrative pages). The vulnerability did not allow arbitrary file reads but could expose sensitive application routes. This issue only affected systems meeting all of the following conditions: The application used `Rack::Sendfile` with a proxy that supports `x-accel-redirect` (e.g., Nginx); the proxy did **not** always set or remove the `x-sendfile-type` and `x-accel-mapping` headers; and the application exposed an endpoint that returned a body responding to `.to_path`. Users should upgrade to Rack versions 2.2.20, 3.1.18, or 3.2.3, which require explicit configuration to enable `x-accel-redirect`. Alternatively, configure the proxy to always set or strip the header, or in Rails applications, disable sendfile completely.SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having moderate severity.
CVSS detail | CNA (GitHub) | SUSE |
---|---|---|
Base Score | 5.8 | 5.8 |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |
Attack Vector | Network | Network |
Attack Complexity | Low | Low |
Privileges Required | None | None |
User Interaction | None | None |
Scope | Changed | Changed |
Confidentiality Impact | Low | Low |
Integrity Impact | None | None |
Availability Impact | None | None |
CVSSv3 Version | 3.1 | 3.1 |
CVSS detail | SUSE |
---|---|
Base Score | 6.9 |
Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N |
Attack Vector | Network |
Attack Complexity | Low |
Attack Requirements | None |
Privileges Required | None |
User Interaction | None |
Vulnerable System Confidentiality Impact | None |
Vulnerable System Integrity Impact | None |
Vulnerable System Availability Impact | None |
Subsequent System Confidentiality Impact | Low |
Subsequent System Integrity Impact | None |
Subsequent System Availability Impact | None |
CVSSv4 Version | 4.0 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
Product(s) | Source package | State |
---|---|---|
Products under general support and receiving all security fixes. | ||
SUSE Linux Enterprise High Availability Extension 15 SP6 | rubygem-rack | Affected |
SUSE Linux Enterprise High Availability Extension 15 SP7 | rubygem-rack | Affected |
openSUSE Leap 15.6 | rubygem-rack | Affected |
openSUSE Leap 15.6 | rubygem-rack-1_6 | Affected |
Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
SUSE Linux Enterprise High Availability Extension 15 SP3 | rubygem-rack | Affected |
SUSE Linux Enterprise High Availability Extension 15 SP4 | rubygem-rack | Affected |
SUSE Linux Enterprise High Availability Extension 15 SP5 | rubygem-rack | Affected |
Products past their end of life and not receiving proactive updates anymore. | ||
SUSE Linux Enterprise High Availability Extension 15 | rubygem-rack | Affected |
SUSE Linux Enterprise High Availability Extension 15 SP1 | rubygem-rack | Affected |
SUSE Linux Enterprise High Availability Extension 15 SP2 | rubygem-rack | Affected |
openSUSE Leap 15.3 | rubygem-rack | Affected |
openSUSE Leap 15.3 | rubygem-rack-1_6 | Affected |
openSUSE Leap 15.4 | rubygem-rack | Affected |
openSUSE Leap 15.4 | rubygem-rack-1_6 | Affected |
openSUSE Leap 15.5 | rubygem-rack | Affected |
openSUSE Leap 15.5 | rubygem-rack-1_6 | Affected |
SUSE Timeline for this CVE
CVE page created: Fri Oct 10 20:00:56 2025CVE page last modified: Sat Oct 11 01:39:17 2025