VDB
GHSA-wpg3-wgm5-rv8w
GHSA-wpg3-wgm5-rv8w
PUBLISHED
CVSS 7.5 HIGH
Record from GitHub Advisory Database · Published May 14, 2022
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.
Risk scores
CVSS 3.0
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Timeline
- May 14, 2022 CVE Published
- Apr 9, 2026 Distribution Patch (5 in total, the first dated here)
- Apr 9, 2026 Security Advisory (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-wpg3-wgm5-rv8w
vulnetix vdb fixes GHSA-wpg3-wgm5-rv8w
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-wpg3-wgm5-rv8w/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-6914 advisory
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released url
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released url
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html url
- http://www.securitytracker.com/id/1042004 url
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released url
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released url
- https://www.ruby-lang.org/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914 url
- http://www.securityfocus.com/bid/103686 url
- https://access.redhat.com/errata/RHSA-2018:3730 advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html advisory
- https://usn.ubuntu.com/3626-1 advisory
- https://www.debian.org/security/2018/dsa-4259 advisory
- https://access.redhat.com/errata/RHSA-2018:3731 advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html advisory
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html advisory
- https://access.redhat.com/errata/RHSA-2018:3729 advisory
- https://access.redhat.com/errata/RHSA-2019:2028 advisory