GHSA-x2mc-8fgj-3wmr

Suggest an improvement
Source
https://github.com/advisories/GHSA-x2mc-8fgj-3wmr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-x2mc-8fgj-3wmr/GHSA-x2mc-8fgj-3wmr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x2mc-8fgj-3wmr
Aliases
Published
2019-05-01T18:37:18Z
Modified
2023-11-08T04:00:12.892530Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Improper Input Validation in tar-fs
Details

A vulnerability was found in tar-fs before 1.16.2. An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content.

Database specific
{
    "nvd_published_at": "2019-04-30T19:29:00Z",
    "github_reviewed_at": "2019-05-01T18:25:25Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

npm / tar-fs

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.16.2