Skip to content

Tempfile on Windows path traversal vulnerability

High severity GitHub Reviewed Published May 6, 2021 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

bundler tmpdir (RubyGems)

Affected versions

< 0.1.2

Patched versions

0.1.2

Description

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.

References

Reviewed May 6, 2021
Published to the GitHub Advisory Database May 6, 2021
Published by the National Vulnerability Database Jul 30, 2021
Last updated Jan 27, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weaknesses

CVE ID

CVE-2021-28966

GHSA ID

GHSA-46f2-3v63-3xrp

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.