synced 4 MIN AGO
01 Record

CVE-2018-8780

In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 Description

In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When

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
9.98% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 95.4% of scored records. A rank, not a probability.
NVD base score
9.1 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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
2018-04-03 22:00Z8 YR AGO
Last updated
2024-08-05 07:02Z2 YR AGO
Reserved
2018-03-19
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
b06aef95f5ccf68a1fabbbea68c6cd59bb45611b9be6db35b5b3125aa00ae1c6

05 Affected products

VendorProductVersionsPlatforms
canonicalubuntu_linuxNot specified—
debiandebian_linuxNot specified—
redhatcloudforms_managementengineNot specified—
redhatenterprise_linuxNot specified—
redhathummingbirdNot specified—
redhatrhel_ausNot specified—
redhatrhel_e4sNot specified—
redhatrhel_eusNot specified—
redhatrhel_software_collectionsNot specified—
redhatrhel_tusNot specified—
rhel_sam1Not specified—
ruby-langrubyNot specified—

06 References

07 Fixed in

Ubuntu 14.04 LTS

  • ruby1.9.1
    Fixed in 1.9.3.484-2ubuntu1.11
  • ruby2.0
    Fixed in 2.0.0.484-1ubuntu2.9

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • ruby2.3
    Fixed in 2.3.1-2~16.04.9

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.