CRITICAL 9.8

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)

ArtifactAffected versionsFixed 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

2affected artifacts
3affected versions
12dependent artifacts (est.)
17dependent versions

100% of the dependent artifacts (12) still pull an affected version in their latest release.

DepthDependent versions
Direct
1
2 hops
2
3 hops
4
4 hops
8
5 hops
2

Most used dependents

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

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Webgithub.com