GHSA-xrr4-p6fq-hjg7
HIGHDirectory traversal vulnerability in Action View in Ruby on Rails
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
actionview💎actionview💎actionpack💎actionpack💎actionpackReal-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
Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | actionview | ≥ 4.0.0&&< 4.1.14.1 | 4.1.14.1 |
| 💎RubyGems | actionview | ≥ 4.2.0&&< 4.2.5.1 | 4.2.5.1 |
| 💎RubyGems | actionpack | ≥ 4.0.0&&< 4.1.14.1 | 4.1.14.1 |
| 💎RubyGems | actionpack | ≥ 4.2.0&&< 4.2.5.1 | 4.2.5.1 |
| 💎RubyGems | actionpack | all versions | 3.2.22.1 |
Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Ruby on Rails - Dynamic Render File Upload / Remote Code Execution (Metasploit)
by Metasploit · Oct 17, 2016
Frequently Asked Questions
Is GHSA-xrr4-p6fq-hjg7 in your stack?
O3 detects GHSA-xrr4-p6fq-hjg7 across RubyGems dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.