Known exploited vulnerability
CVE-2019-5418
Rails Ruby on Rails Path Traversal Vulnerability
What happened
Rails Ruby on Rails contains a path traversal vulnerability in Action View. Specially crafted accept headers in combination with calls to `render file:` can cause arbitrary files on the target server to be rendered, disclosing the file contents.
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Analyst notes
https://web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/ ; https://nvd.nist.gov/vuln/detail/CVE-2019-5418
Open-source advisories
-
RubyGems
Public proof-of-concept repositories
No matching public repository was found in the scheduled GitHub index. The index refreshes every 30 minutes; a result would be an unverified repository mention, not a safety assessment.
More from Rails
- CVE-2016-0752 Ruby on Rails Directory Traversal Vulnerability
- CVE-2014-0130 Ruby on Rails Directory Traversal Vulnerability