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 over last 30 days · oldest: 0.103 · newest: 0.102 · change: -0.002
Affected products
- Ruby-Lang Ruby — versions 2.6.0
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 7.0, 8.0, 9.0
- Red Hat Enterprise Linux — versions 6.0, 7.0, 7.4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/ (Patch, Release Notes)
- access.redhat.com/errata/RHSA-2018:3729 (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/3626-1/ (vendor-advisory, Third Party Advisory)
- www.securitytracker.com/id/1042004 (VDB Entry, Third Party Advisory, vdb-entry)
- www.securityfocus.com/bid/103686 (VDB Entry, Third Party Advisory, vdb-entry)
- access.redhat.com/errata/RHSA-2018:3730 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/04/msg00023.html (mailing-list, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:3731 (vendor-advisory, Third Party Advisory)
- www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/ (Patch, Release Notes)
- lists.debian.org/debian-lts-announce/2018/07/msg00012.html (mailing-list, Mailing List, Third Party Advisory)
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.