CVE-2019-5418 vulnerability in Red Hat and Other Products
Published on March 27, 2019
Known Exploited Vulnerability
This Rails Ruby on Rails Path Traversal Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. 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.
The following remediation steps are recommended / required by July 28, 2025: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Vulnerability Analysis
CVE-2019-5418 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. This vulnerability is known to be actively exploited by threat actors in an automatable fashion. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2019-5418 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2019-5418
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2019-5418 are published in these products:
Affected Versions
https://github.com/rails/rails:- Version 5.2.2.1 is affected.
- Version 5.1.6.2 is affected.
- Version 5.0.7.2 is affected.
- Version 4.2.11.1 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.