CRITICAL 9.8 npm

Path Traversal in decompress

GHSA-qgfr-5hqp-vrw9 · CVE-2020-12265

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes