7.5High KEV

CVE-2019-5418Rails Ruby on Rails Path Traversal Vulnerability

Rails https://github.com/rails/rails Published: (7 years ago)

Known exploited — Rails Ruby on Rails Path Traversal Vulnerability

CISA confirmed this vulnerability is used in real attacks on 07.07.2025. Remediation deadline for US federal agencies: 28.07.2025.

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. 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

Description

There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted accept headers can cause contents of arbitrary files on the target system's filesystem to be exposed.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
debian debian linux 8.0
fedoraproject fedora 30
opensuse leap 15.0
Rails https://github.com/rails/rails 5.2.2.1, 5.1.6.2, 5.0.7.2, 4.2.11.1
redhat cloudforms 4.7
redhat software collections 1.0
rubyonrails rails 3.0.0 – < 4.2.11.1

References and patches

CPE matches (NVD) (10)

  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* ≥ 3.0.0 < 4.2.11.1
  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* ≥ 5.0.0 < 5.0.7.2
  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* ≥ 5.1.0 < 5.1.6.2
  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* ≥ 5.2.0 < 5.2.2.1
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:cloudforms:4.7:*:*:*:*:*:*:*
  • cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:software_collections:1.0:*:*:*:*:*:*:*