VDB
Sign up
CRITICAL9.8

GHSA-qgfr-5hqp-vrw9

Path Traversal in decompress

Quick fix

GHSA-qgfr-5hqp-vrw9 — decompress: upgrade to the fixed version with the command below.

npm install decompress@4.2.1

Details

Versions of `decompress` prior to 4.2.1 are vulnerable to Arbitrary File Write. The package fails to prevent extraction of files with relative paths, allowing attackers to write to any folder in the system by including filenames containing`../`.

## Recommendation

Upgrade to version 4.2.1 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/decompress
Introduced in: 0Fixed in: 4.2.1
Fixnpm install decompress@4.2.1

References