GHSA-pr3h-jjhj-573x
HIGHSprockets path traversal leads to information leak
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Blast Radius
sprockets💎sprockets💎sprocketsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
Specially crafted requests can be used to access files that exist on the filesystem that is outside an application's root directory, when the Sprockets server is used in production.
All users running an affected release should either upgrade or use one of the work arounds immediately.
Workaround:
In Rails applications, work around this issue, set config.assets.compile = false and config.public_file_server.enabled = true in an initializer and precompile the assets.
This work around will not be possible in all hosting environments and upgrading is advised.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | sprockets | ≥ 3.0.0&&< 3.7.2 | 3.7.2 |
| 💎RubyGems | sprockets | ≥ 4.0.0.beta1&&< 4.0.0.beta8 | 4.0.0.beta8 |
| 💎RubyGems | sprockets | all versions | 2.12.5 |
Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Frequently Asked Questions
Is GHSA-pr3h-jjhj-573x in your stack?
O3 detects GHSA-pr3h-jjhj-573x across RubyGems dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.