CVE-2018-8780

UnknownEPSS 10.10%

Last modified

CVE-2018-8780 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 10.10% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
10.10%

95.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
Ruby-LangRuby< 2.2.10
Ruby-LangRuby>= 2.3.0, < 2.3.7
Ruby-LangRuby>= 2.4.0, < 2.4.4
Ruby-LangRuby>= 2.5.0, < 2.5.1
Ruby-LangRuby2.6.0Preview1
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux17.10
DebianDebian Linux7.0
DebianDebian Linux8.0
DebianDebian Linux9.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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 using the corresponding method, unintentional directory traversal may be performed.
How severe is CVE-2018-8780?
Severity scoring for CVE-2018-8780 is pending analysis. The EPSS model estimates a 10.10% probability of exploitation in the next 30 days.
How do I fix CVE-2018-8780?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-8780?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST