logo

CVE-2018-20834 tar

Package

Manager: npm
Name: tar
Vulnerable Version: >=3.0.0 <4.4.2 || >=0 <2.2.2

Severity

Level: High

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00417 pctl0.60936

Details

Arbitrary File Overwrite in tar Versions of `tar` prior to 4.4.2 for 4.x and 2.2.2 for 2.x are vulnerable to Arbitrary File Overwrite. Extracting tarballs containing a hardlink to a file that already exists in the system, and a file that matches the hardlink will overwrite the system's file with the contents of the extracted file. ## Recommendation For tar 4.x, upgrade to version 4.4.2 or later. For tar 2.x, upgrade to version 2.2.2 or later.

Metadata

Created: 2019-05-01T18:37:31Z
Modified: 2023-11-29T22:25:48Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-j44m-qm6p-hp7m/GHSA-j44m-qm6p-hp7m.json
CWE IDs: ["CWE-59"]
Alternative ID: GHSA-j44m-qm6p-hp7m
Finding: F076
Auto approve: 1