Path Traversal in Ruby-Lang Ruby

CVE-2018-6914

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

EPSS exploit prediction

EPSS: 0.102 (95.5th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 95.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-6914: held from 0.103 to 0.102.

EPSS over last 30 days · oldest: 0.103 · newest: 0.102 · change: -0.002

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-6914?
CVE-2018-6914 is a high-severity vulnerability in Ruby-Lang Ruby, classified under Path Traversal. CVSS score: 7.5/10. Published 2018-04-03.
How severe is CVE-2018-6914?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2018-6914 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.