synced 2 MIN AGO
01 Record

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.

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

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

VendorProductVersionsPlatforms
canonicalubuntu_linuxNot specified—
redhatenterprise_linuxNot specified—
redhatred_hat_3scale_ampNot specified—
redhatrhel_e4sNot specified—
redhatrhel_eusNot specified—
redhatrhel_software_collectionsNot specified—
ruby-langrubyNot specified—

06 References

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.