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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›