CVE-2019-15845
Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 mishandles path checking within File.fnmatch functions.
02 Description
Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 mishandles path checking within File.fnmatch functions.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.28% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 88.0% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-11-26 16:45Z6 YR AGO
- Last updated
- 2024-08-05 01:03Z2 YR AGO
- Reserved
- 2019-08-30
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
- Data version
- 5.1
- Document digest
- f1e4bb4812e12014b9805ac2a63056c790b795fe028e440c0a33511aa7799197
05 Affected products
06 References
- hackerone.comhttps://hackerone.com/reports/449617
- lists.debian.org[debian-lts-announce] 20191125 [SECURITY] [DLA 2007-1] ruby2.1 security updatehttps://lists.debian.org/debian-lts-announce/2019/11/msg00025.html
- usn.ubuntu.comUSN-4201-1https://usn.ubuntu.com/4201-1/
- seclists.org20191217 [SECURITY] [DSA 4587-1] ruby2.3 security updatehttps://seclists.org/bugtraq/2019/Dec/31
- seclists.org20191217 [SECURITY] [DSA 4586-1] ruby2.5 security updatehttps://seclists.org/bugtraq/2019/Dec/32
- www.debian.orgDSA-4587https://www.debian.org/security/2019/dsa-4587
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujan2020.html
- security.gentoo.orgGLSA-202003-06https://security.gentoo.org/glsa/202003-06
- lists.opensuse.orgopenSUSE-SU-2020:0395http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
07 Fixed in
AlmaLinux 8
- rubygem-abrt Fixed
A version is affected if any line below covers it.
- Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
- Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
- Affected before 0.3.0-4.module_el8.5.0+2625+ec418553
- rubygem-abrt-doc Fixed
A version is affected if any line below covers it.
- Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
- Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
- Affected before 0.3.0-4.module_el8.5.0+2625+ec418553
- rubygem-bson Fixed
A version is affected if any line below covers it.
- Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
- Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
- Affected before 4.5.0-1.module_el8.5.0+250+ba22dbf7
- Affected before 4.5.0-1.module_el8.5.0+2623+08a8ba32
- rubygem-bson-doc Fixed
A version is affected if any line below covers it.
- Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
- Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
- Affected before 4.5.0-1.module_el8.5.0+250+ba22dbf7
- Affected before 4.5.0-1.module_el8.5.0+2623+08a8ba32
- rubygem-mongo Fixed
A version is affected if any line below covers it.
- Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
- Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
- Affected before 2.8.0-1.module_el8.5.0+250+ba22dbf7
- Affected before 2.8.0-1.module_el8.5.0+2623+08a8ba32
- rubygem-mongo-doc Fixed
A version is affected if any line below covers it.
- Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
- Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
- Affected before 2.8.0-1.module_el8.5.0+250+ba22dbf7
- Affected before 2.8.0-1.module_el8.5.0+2623+08a8ba32
- rubygem-mysql2 Fixed
A version is affected if any line below covers it.
- Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
- Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
- Affected before 0.5.2-1.module_el8.5.0+250+ba22dbf7
- Affected before 0.5.2-1.module_el8.5.0+2623+08a8ba32
- rubygem-mysql2-doc Fixed
A version is affected if any line below covers it.
- Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
- Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
- Affected before 0.5.2-1.module_el8.5.0+250+ba22dbf7
- Affected before 0.5.2-1.module_el8.5.0+2623+08a8ba32
- rubygem-pg Fixed
A version is affected if any line below covers it.
- Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
- Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
- Affected before 1.1.4-1.module_el8.5.0+250+ba22dbf7
- Affected before 1.1.4-1.module_el8.5.0+2623+08a8ba32
- rubygem-pg-doc Fixed
A version is affected if any line below covers it.
- Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
- Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
- Affected before 1.1.4-1.module_el8.5.0+250+ba22dbf7
- Affected before 1.1.4-1.module_el8.5.0+2623+08a8ba32
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- ruby Fixed in 2.6.5-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- rubygem-abrt Fixed
A version is affected if any line below covers it.
- Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
- Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
- Affected before 0.3.0-4.module_el8.5.0+2625+ec418553
- rubygem-abrt-doc Fixed
A version is affected if any line below covers it.
- Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
- Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
- Affected before 0.3.0-4.module_el8.5.0+2625+ec418553
- rubygem-bson Fixed
A version is affected if any line below covers it.
- Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
- Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
- Affected before 4.5.0-1.module_el8.5.0+250+ba22dbf7
- Affected before 4.5.0-1.module_el8.5.0+2623+08a8ba32
- rubygem-bson-doc Fixed
A version is affected if any line below covers it.
- Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
- Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
- Affected before 4.5.0-1.module_el8.5.0+250+ba22dbf7
- Affected before 4.5.0-1.module_el8.5.0+2623+08a8ba32
- rubygem-mongo Fixed
A version is affected if any line below covers it.
- Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
- Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
- Affected before 2.8.0-1.module_el8.5.0+250+ba22dbf7
- Affected before 2.8.0-1.module_el8.5.0+2623+08a8ba32
- rubygem-mongo-doc Fixed
A version is affected if any line below covers it.
- Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
- Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
- Affected before 2.8.0-1.module_el8.5.0+250+ba22dbf7
- Affected before 2.8.0-1.module_el8.5.0+2623+08a8ba32
- rubygem-mysql2 Fixed
A version is affected if any line below covers it.
- Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
- Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
- Affected before 0.5.2-1.module_el8.5.0+250+ba22dbf7
- Affected before 0.5.2-1.module_el8.5.0+2623+08a8ba32
- rubygem-mysql2-doc Fixed
A version is affected if any line below covers it.
- Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
- Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
- Affected before 0.5.2-1.module_el8.5.0+250+ba22dbf7
- Affected before 0.5.2-1.module_el8.5.0+2623+08a8ba32
- rubygem-pg Fixed
A version is affected if any line below covers it.
- Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
- Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
- Affected before 1.1.4-1.module_el8.5.0+250+ba22dbf7
- Affected before 1.1.4-1.module_el8.5.0+2623+08a8ba32
- rubygem-pg-doc Fixed
A version is affected if any line below covers it.
- Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
- Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
- Affected before 1.1.4-1.module_el8.5.0+250+ba22dbf7
- Affected before 1.1.4-1.module_el8.5.0+2623+08a8ba32
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- ruby2.3 Fixed in 2.3.1-2~ubuntu16.04.14
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- ruby2.5 Fixed in 2.5.1-1ubuntu1.6
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.