High, CVSS 7.5RubyGemsPublished
Tempfile on Windows path traversal vulnerability
CVE-2021-28966 · GHSA-46f2-3v63-3xrp
- Affected
- RubyGems tmpdir < 0.1.2
- Fixed in
- 0.1.2· Vendor fix available
- Issue
- There is an unintentional directory creation vulnerability in tmpdir library bundled with Ruby on Windows. And there is also an unintentional file creation vulnerability in tempfile library bundled with Ruby on Windows, because it uses tmpdir internally.
Recommended action: Upgrade to 0.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.