CVE-2018-8780

Critical

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductRuby
PublishedApr 3, 2018
First seenApr 3, 2018

How to fix

Affected products

ProductAffected versionsFixed in
ruby-lang rubyv < 2.2.10, 2.3.0 ≤ v < 2.3.7, 2.4.0 ≤ v < 2.4.4, 2.5.0 ≤ v < 2.5.1, 2.6.02.2.10, 2.3.7, 2.4.4, 2.5.1
canonical ubuntu_linux14.04, 16.04, 17.10—
debian debian_linux7.0, 8.0, 9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.