Skip to content
CVE Tracker
Back

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…

Critical9.1EPSS 10.0%
Published
Updated
Reserved
Assigned by
mitre

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 using the corresponding method, unintentional directory traversal may be performed.

Scores

CVSS scores of CVE-2018-8780, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified3.0Critical9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS (exploitation in 30 days)
10.0% · top 4.4% of all CVEs (3 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.1.

Weakness

Affected products

  • n/a

    • affected n/a

References (20)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2018-8780 badge
[![CVE-2018-8780](https://trackcve.app/badge/CVE-2018-8780.svg)](https://trackcve.app/cve/CVE-2018-8780)

Record last updated .