Critical, CVSS 9.8npmAmendedPublished
Path Traversal in decompress
CVE-2020-12265 · GHSA-qgfr-5hqp-vrw9
- Affected
- npm decompress < 4.2.1
- Fixed in
- 4.2.1· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 4.2.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.