CVE-2018-6914
Last modified
CVE-2018-6914 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 10.55% chance of exploitation in the next 30 days.
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 attackers to create arbitrary directories or files via a .. (dot dot) in the prefix argument.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Ruby-Lang | Ruby | >= 2.2.0, < 2.2.10 | — |
| Ruby-Lang | Ruby | >= 2.3.0, < 2.3.7 | — |
| Ruby-Lang | Ruby | >= 2.4.0, < 2.4.4 | — |
| Ruby-Lang | Ruby | >= 2.5.0, < 2.5.1 | — |
| Ruby-Lang | Ruby | 2.6.0 | Preview1 |
| Canonical | Ubuntu Linux | 14.04 | — |
| Canonical | Ubuntu Linux | 16.04 | — |
| Canonical | Ubuntu Linux | 17.10 | — |
| Debian | Debian Linux | 7.0 | — |
| Debian | Debian Linux | 8.0 | — |
| Debian | Debian Linux | 9.0 | — |
| Redhat | Enterprise Linux | 6.0 | — |
| Redhat | Enterprise Linux | 7.0 | — |
| Redhat | Enterprise Linux | 7.4 | — |
| Redhat | Enterprise Linux | 7.5 | — |
| Redhat | Enterprise Linux | 7.6 | — |
References
- http://www.securityfocus.com/bid/103686Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042004Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3729Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3730Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3731Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00023.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00024.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/3626-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4259Third Party Advisory
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/Patch, Release Notes
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/Patch, Release Notes
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/Patch, Release Notes
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/Patch, Release Notes
- http://www.securityfocus.com/bid/103686Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1042004Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3729Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3730Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3731Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00023.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00024.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/3626-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4259Third Party Advisory
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/Patch, Release Notes
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/Patch, Release Notes
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/Patch, Release Notes
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/Patch, Release Notes
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-6914?
How severe is CVE-2018-6914?
How do I fix CVE-2018-6914?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-6908An authentication bypass vulnerability exists in the Green E…
- CVE-2018-6909A missing X-Frame-Options header in the Green Electronics Ra…
- CVE-2018-6910DedeCMS 5.7 allows remote attackers to discover the full pat…7.5
- CVE-2018-6911The VBWinExec function in Node\AspVBObj.dll in Advantech Web…
- CVE-2018-6912The decode_plane function in libavcodec/utvideodec.c in FFmp…
- CVE-2018-6913Heap-based buffer overflow in the pack function in Perl befo…
- CVE-2018-6916In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p7, 10.4-STABLE,…
- CVE-2018-6917In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p9, 10.4-STABLE,…
- CVE-2018-6918In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p9, 10.4-STABLE,…
- CVE-2018-6919In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p9, 10.4-STABLE,…
- CVE-2018-6920In FreeBSD before 11.1-STABLE(r332303), 11.1-RELEASE-p10, 10…
- CVE-2018-6921In FreeBSD before 11.1-STABLE(r332066) and 11.1-RELEASE-p10,…
Are you affected by CVE-2018-6914?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
