← All CVEs

CVE-2018-6914

high · 7.5

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.

7.5
CVSS
10.2%
EPSS (exploit prob.)
95th
EPSS percentile
2018-04-03
Published

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weaknesses

CWE-22

Affected products

VendorProductAffected versions
ruby-langruby>= 2.2.0, < 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.0
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
debiandebian_linux7.0
debiandebian_linux8.0
debiandebian_linux9.0
redhatenterprise_linux6.0
redhatenterprise_linux7.0
redhatenterprise_linux7.4
redhatenterprise_linux7.5
redhatenterprise_linux7.6

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2018-6914