VDB
Sign up
HIGH7.5

GHSA-x2mc-8fgj-3wmr

Improper Input Validation in tar-fs

Quick fix

GHSA-x2mc-8fgj-3wmr — tar-fs: upgrade to the fixed version with the command below.

npm install tar-fs@1.16.2

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/tar-fs
Introduced in: 0Fixed in: 1.16.2
Fixnpm install tar-fs@1.16.2

References