synced JUST NOW
01 Record

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

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
10.15% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 95.4% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2018-04-03 22:00Z8 YR AGO
Last updated
2024-08-05 06:17Z2 YR AGO
Reserved
2018-02-12
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
Data version
5.1
Document digest
b469afd7c762c08c3bb62855cbf3fe27f16625aa9ebe7e9b87dd7060518b449a

05 Affected products

VendorProductVersionsPlatforms
canonicalubuntu_linuxNot specified—
debiandebian_linuxNot specified—
redhatcloudforms_managementengineNot specified—
redhatenterprise_linuxNot specified—
redhatrhel_software_collectionsNot specified—
rhel_sam1Not specified—
ruby-langrubyNot specified—

06 References

07 Fixed in

Ubuntu 14.04 LTS

  • ruby1.9.1
    Fixed in 1.9.3.484-2ubuntu1.11
  • ruby2.0
    Fixed in 2.0.0.484-1ubuntu2.9

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • ruby2.3
    Fixed in 2.3.1-2~16.04.9

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.