CVE-2020-12265
Path Traversal in decompress
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.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars » decompressvia npm decompress | < 4.2.1 | 4.2.1 |
| org.webjars.npm » decompressvia npm decompress | < 4.2.1 | 4.2.1 |
Blast radius
100% of the dependent artifacts (12) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1 |
| 2 hops | 2 |
| 3 hops | 4 |
| 4 hops | 8 |
| 5 hops | 2 |
Most used dependents
- org.webjars » bin-build4 usages
- org.webjars » bin-wrapper4 usages
- org.webjars » download2 usages
- org.webjars » imagemin-gifsicle1 usages
- org.webjars » imagemin-jpegtran1 usages
- org.webjars » imagemin-optipng1 usages
- org.webjars » imagemin-pngquant1 usages
- org.webjars » gifsicle1 usages
- org.webjars » jpegtran-bin1 usages
- org.webjars » optipng-bin1 usages
- org.webjars » pngquant-bin1 usages
- org.webjars » imagemin0 usages
Computed from the dependency graph of build 20261205.0236 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2020-12265 | nvd.nist.gov |
| Package | kevva/decompress | github.com |
| Web | kevva/decompress issue #71 | github.com |
| Web | kevva/decompress pull request #73 | github.com |
| Web | kevva/decompress commit 967146e | github.com |
