NetSight
high7.5

CVE-2021-28966

Tempfile on Windows path traversal vulnerability

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
rubygemstmpdir< 0.1.20.1.2

Affected products

VendorProductAffected versions
Ruby-LangRuby
before 2.7.3
from 3.0.0 before 3.0.1

Weakness classification

References