HIGH 7.5

CVE-2020-11979

Code injection in Apache Ant

Description

As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so that only the current user was allowed to access them. Unfortunately the fixcrlf task deleted the temporary file and created a new one without said protection, effectively nullifying the effort. This would still allow an attacker to inject modified source files into the build process.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.ant » ant
< 1.10.9
1.10.9

Blast radius

1affected artifacts
44affected versions
28,187dependent artifacts (est.)
1,939,453dependent versions

63% of the dependent artifacts (17,832) still pull an affected version in their latest release.

DepthDependent versions
Direct
65,032
2 hops
333,567
3 hops
490,683
4 hops
604,994
5 hops
343,887
6 hops
101,290

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