Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2018-6914

29
FAUCET Score

CVE-2018-6914 describes a directory traversal vulnerability within the Dir.mktmpdir method of Ruby's tmpdir library, affecting Ruby versions prior to 2.2.10, 2.3.7, 2.4.4, 2.5.1, and 2.6.0-preview1, as well as distributions like Canonical, Debian, and Red Hat. An attacker can exploit this flaw by including ".." in the prefix argument, potentially leading to the creation of arbitrary directories or files. Rated with a CVSS score of 7.5 (HIGH), this vulnerability is network-exploitable with low attack complexity and no user interaction required, allowing for high integrity impact without affecting confidentiality or availability. Its EPSS score is low, suggesting a limited probability of exploitation in the wild. Currently, there is no evidence of active exploitation, and no public exploit code is available on platforms like Metasploit, Nuclei, or ExploitDB. Community discussion and media coverage for this CVE are minimal, indicating a lack of widespread attention.

Impacted Technologies

VendorProductVersion(s)CPE
>= 2.2.0, < 2.2.10CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.3.0, < 2.3.7CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.4.0, < 2.4.4CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.5.0, < 2.5.1CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
2.6.0CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

7.5HIGH

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
3.9
Impact Score
3.6
CvssVersion
3.0

Exploit Intelligence

EPSS Score
10.55%
Probability of exploitation in next 30 days
EPSS Percentile
95.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.1055 is in the 93rd percentile among its peer group of 51,506 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (21)

redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSFixed in: rh-ruby25-ruby-0:2.5.3-6.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSFixed in: rh-ruby23-ruby-0:2.3.8-69.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSFixed in: rh-ruby24-ruby-0:2.4.5-91.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: ruby-0:2.0.0.648-36.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 6Fixed in: rh-ruby23-ruby-0:2.3.8-69.el6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 6Fixed in: rh-ruby24-ruby-0:2.4.5-91.el6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-ruby23-ruby-0:2.3.8-69.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-ruby24-ruby-0:2.4.5-91.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-ruby25-ruby-0:2.5.3-6.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSFixed in: rh-ruby23-ruby-0:2.3.8-69.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSFixed in: rh-ruby24-ruby-0:2.4.5-91.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSFixed in: rh-ruby25-ruby-0:2.5.3-6.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSFixed in: rh-ruby23-ruby-0:2.3.8-69.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSFixed in: rh-ruby24-ruby-0:2.4.5-91.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSFixed in: rh-ruby25-ruby-0:2.5.3-6.el7
View patch
redhatno patchvia redhat_api
Product: CloudForms Management Engine 5Fixed in: ruby-200-ruby
redhatno patchvia redhat_api
Product: CloudForms Management Engine 5Fixed in: rh-ruby22-ruby
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: ruby
redhatend of lifevia redhat_api
Product: Red Hat Subscription Asset ManagerFixed in: ruby193-ruby
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: ruby
redhatend of lifevia redhat_api
Product: Red Hat Software CollectionsFixed in: rh-ruby22-ruby

Vendor Advisories (1)

redhatCVE-2018-6914Low

ruby: Unintentional file and directory creation with directory traversal in tempfile and tmpdir

Mar 28, 2018

References

lists.opensuse.org / opensuse-security-announce/2019-07/msg00036.html
access.redhat.com / errata/RHSA-2018:3729
Third Party Advisory
access.redhat.com / errata/RHSA-2018:3730
Third Party Advisory
access.redhat.com / errata/RHSA-2018:3731
Third Party Advisory
access.redhat.com / errata/RHSA-2019:2028
lists.debian.org / debian-lts-announce/2018/04/msg00023.html
Third Party Advisory
lists.debian.org / debian-lts-announce/2018/04/msg00024.html
Mailing ListThird Party Advisory
lists.debian.org / debian-lts-announce/2018/07/msg00012.html
Mailing ListThird Party Advisory
usn.ubuntu.com / 3626-1
Third Party Advisory
debian.org / security/2018/dsa-4259
Third Party Advisory
ruby-lang.org / en/news/2018/03/28/ruby-2-2-10-released
PatchRelease Notes
ruby-lang.org / en/news/2018/03/28/ruby-2-3-7-released
PatchRelease Notes
ruby-lang.org / en/news/2018/03/28/ruby-2-4-4-released
PatchRelease Notes
ruby-lang.org / en/news/2018/03/28/ruby-2-5-1-released
PatchRelease Notes
ruby-lang.org / en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914
Vendor Advisory
securityfocus.com / bid/103686
Third Party AdvisoryVDB Entry
securitytracker.com / id/1042004
Third Party AdvisoryVDB Entry