CVE-2018-6914

High

Description

Directory traversal vulnerability in the Dir.mktmpdir method in the tmpdir library 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 might allow attackers to create arbitrary directories or files via a .. (dot dot) in the prefix argument.

SeverityHigh
CVSS7.5
Exploit probability—
ProductRuby
PublishedApr 3, 2018
First seenApr 3, 2018

How to fix

Affected products

ProductAffected versionsFixed in
ruby-lang ruby2.2.0 ≤ v < 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—
redhat enterprise_linux6.0, 7.0, 7.4, 7.5, 7.6—

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.