HIGH 7.5

CVE-2021-35515

Excessive Iteration in Compress

Description

When reading a specially crafted 7Z archive, the construction of the list of codecs that decompress an entry can result in an infinite loop. This could be used to mount a denial of service attack against services that use Compress' sevenz package.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.commons » commons-compress
< 1.21
1.21

Blast radius

1affected artifacts
47affected versions
56,429dependent artifacts (est.)
2,875,372dependent versions

69% of the dependent artifacts (39,270) still pull an affected version in their latest release.

DepthDependent versions
Direct
131,466
2 hops
1,014,742
3 hops
1,284,632
4 hops
308,775
5 hops
102,713
6 hops
33,044

Most used dependents

Computed from the dependency graph of build 20261124.0621 (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.

References