GHSA-qgfr-5hqp-vrw9
Path Traversal in decompress
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | decompress | < 4.2.1 | 4.2.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.