~ / search / GHSA-xf7w-r453-m56c

GHSA-xf7w-r453-m56c

Arbitrary File Overwrite in fstream

Source: GitHub Advisory Database (reviewed) High CVE-2019-13173

Packages

EcosystemPackageAffectedFixed in
npm fstream < 1.0.12 1.0.12

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.