Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTQ2ZjItM3Y2My0zeHJw
Tempfile on Windows path traversal vulnerability
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTQ2ZjItM3Y2My0zeHJw
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 3 years ago
Updated: over 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Identifiers: GHSA-46f2-3v63-3xrp, CVE-2021-28966
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-28966
- https://github.com/ruby/tmpdir/pull/8
- https://github.com/ruby/tmpdir/commit/93798c01cb7c10476e50a4d80130a329ba47f348
- https://hackerone.com/reports/1131465
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/tmpdir/CVE-2021-28966.yml
- https://rubygems.org/gems/tmpdir
- https://www.ruby-lang.org/en/news/2021/04/05/tempfile-path-traversal-on-windows-cve-2021-28966/
- https://security.netapp.com/advisory/ntap-20210902-0004/
- https://github.com/advisories/GHSA-46f2-3v63-3xrp
Blast Radius: 9.0
Affected Packages
rubygems:tmpdir
Dependent packages: 6Dependent repositories: 16
Downloads: 270,023 total
Affected Version Ranges: < 0.1.2
Fixed in: 0.1.2
All affected versions: 0.1.0, 0.1.1
All unaffected versions: 0.1.2, 0.1.3, 0.2.0