rack
Affected
- introduced
0, fixed2.2.13(ecosystem)
Fixed versions
2.2.13
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2025-27610
Local File Inclusion in Rack::Static
Summary
Rack::Static can serve files under the specified root: even if urls: are provided, which may expose other files under the specified root: unexpectedly.
Details
The vulnerability occurs because Rack::Static does not properly sanitize user-supplied paths before serving files. Specifically, encoded path traversal sequences are not correctly validated, allowing attackers to access files outside the designated static file directory.
Impact
By exploiting this vulnerability, an attacker can gain access to all files under the specified root: directory, provided they are able to determine then path of the file.
Mitigation
Rack::Static, orroot: points at a directory path which only contains files which should be accessed publicly.It is likely that a CDN or similar static file server would also mitigate the issue.
High Basis: The source's own band: HIGH
0, fixed 2.2.13 (ecosystem)2.2.13
The export has no generic command for this ecosystem.
3.0, fixed 3.0.14 (ecosystem)3.0.14
The export has no generic command for this ecosystem.
3.1, fixed 3.1.12 (ecosystem)3.1.12
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0