ADVISORIES

GitHub Advisory Database

GHSA-qgfr-5hqp-vrw9

Path Traversal in decompress

Critical CVE-2020-12265

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.

Affected packages

EcosystemPackageAffected versions
npmdecompress
All versions before 4.2.1 (fixed in 4.2.1)

References