CVE-2019-5418
Rails Ruby on Rails Path Traversal Vulnerability
Beskrivelse
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.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2019-03-27
- Sist endret
- 2026-06-17
- Tildelt av
- support@hackerone.com
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
98.5 %
blant de aller høyeste av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Aktivt utnyttet
CISA førte denne sårbarheten inn i katalogen over kjente utnyttede sårbarheter 2025-07-07, med utbedringsfrist 2025-07-28 for amerikanske føderale etater.
Pålagt tiltak: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| actionview (RubyGems) | ≥ 4.0.0, < 4.2.11.1 | Berørt | |
| actionview (RubyGems) | ≥ 5.0.0, < 5.0.7.2 | Berørt | |
| actionview (RubyGems) | ≥ 5.1.0, < 5.1.6.2 | Berørt | |
| actionview (RubyGems) | ≥ 5.2.0, < 5.2.2.1 | Berørt | |
| Debian | Debian Linux | 8.0 | Berørt |
| Fedoraproject | Fedora | 30 | Berørt |
| Opensuse | Leap | 15.0 | Berørt |
| Redhat | Cloudforms | 4.6 | Berørt |
| Redhat | Cloudforms | 4.7 | Berørt |
| Redhat | Software Collections | 1.0 | Berørt |
| Rubyonrails | Rails | ≥ 3.0.0, < 4.2.11.1 | Berørt |
| Rubyonrails | Rails | ≥ 5.0.0, < 5.0.7.2 | Berørt |
| Rubyonrails | Rails | ≥ 5.1.0, < 5.1.6.2 | Berørt |
| Rubyonrails | Rails | ≥ 5.2.0, < 5.2.2.1 | Berørt |
Svakhetstype
-
CWE-22: Improper Limitation of a Pathname to a Restricted Directory
The product 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 product does not properly neutralize special ele…
Referanser
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html
- http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure…
- http://www.openwall.com/lists/oss-security/2019/03/22/1
- https://access.redhat.com/errata/RHSA-2019:0796
- https://access.redhat.com/errata/RHSA-2019:1147
- https://access.redhat.com/errata/RHSA-2019:1149
- https://access.redhat.com/errata/RHSA-2019:1289
- https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q
- https://lists.debian.org/debian-lts-announce/2019/03/msg00042.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
- https://www.exploit-db.com/exploits/46585/
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00011.html
- http://packetstormsecurity.com/files/152178/Rails-5.2.1-Arbitrary-File-Content-Disclosure…
- http://www.openwall.com/lists/oss-security/2019/03/22/1
- https://access.redhat.com/errata/RHSA-2019:0796
- https://access.redhat.com/errata/RHSA-2019:1147
- https://access.redhat.com/errata/RHSA-2019:1149
- https://access.redhat.com/errata/RHSA-2019:1289
- https://groups.google.com/forum/#%21topic/rubyonrails-security/pFRKI96Sm8Q
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.