logo

CVE-2019-13173 fstream

Package

Manager: npm
Name: fstream
Vulnerable Version: >=0 <1.0.12

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.00652 pctl0.69986

Details

Arbitrary File Overwrite in fstream Versions of `fstream` prior to 1.0.12 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. The `fstream.DirWriter()` function is vulnerable. ## Recommendation Upgrade to version 1.0.12 or later.

Metadata

Created: 2019-05-30T17:19:34Z
Modified: 2021-08-04T20:12:16Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-xf7w-r453-m56c/GHSA-xf7w-r453-m56c.json
CWE IDs: ["CWE-59"]
Alternative ID: GHSA-xf7w-r453-m56c
Finding: F076
Auto approve: 1