CVE-2018-8780: canonical ubuntu_linux
Vulnerability summary
CVE-2018-8780 is a critical (CVSS 9.1) vulnerability in canonical ubuntu_linux. EPSS estimates a 9.98% chance of exploitation in the next 30 days, higher than 95.6% of scored vulnerabilities.
Severe, CVSS 9.1 (NVD); no exploitation reported by the 5 checked sources; EPSS 10% (FIRST, 04-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 19 · Related 4Timeline
- 03-04-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.1CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
9.98%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
Increase +0.26 pp
From 9.72% on 05-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu3 products
- ruby1.9.1< 1.9.3.484-2ubuntu1.11
- ruby2.0< 2.0.0.484-1ubuntu2.9
- ruby2.3< 2.3.1-2~16.04.9
Alpine1 product
- ruby≥ 2.3.0, < 2.5.1-r0 | ≥ 2.3.0, < 2.3.7-r0 | ≥ 2.3.0, < 2.4.4-r0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10
Debian1 product
- debian_linuxEOL7.0 | 8.0 | 9.0
Ruby-lang1 product
- rubyEOL< 2.2.10 | ≥ 2.3.0, < 2.3.7 | ≥ 2.4.0, < 2.4.4 | ≥ 2.5.0, < 2.5.1 | 2.6.0:preview1
5 vendors · 7 products
References
26 links- lists.debian.org/debian-lts-announce/2018/04/msg00023.htmlMailing ListX Refsource MLISTThird Party Advisory
- www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/X Refsource CONFIRMVendor AdvisoryREPORT
- lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlMailing ListX Refsource MLISTThird Party Advisory
Show all 26 references
- lists.debian.org/debian-lts-announce/2018/04/msg00024.htmlMailing ListX Refsource MLISTThird Party Advisory