MODERATE 5.5

CVE-2021-36373

Improper Handling of Length Parameter Inconsistency in Apache Ant

Description

When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.ant » ant
< 1.9.16>= 1.10.0, < 1.10.11
1.9.16, 1.10.11

Blast radius

1affected artifacts
44affected versions
28,683dependent artifacts (est.)
2,024,039dependent versions

62% of the dependent artifacts (18,052) still pull an affected version in their latest release.

DepthDependent versions
Direct
70,047
2 hops
372,621
3 hops
517,018
4 hops
617,523
5 hops
344,962
6 hops
101,868

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.