MODERATE 6.3

CVE-2020-1945

Sensitive Data Exposure in Apache Ant

Description

Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also copy files from the temporary directory back into the build tree allowing an attacker to inject modified source files into the build process.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.ant » ant
>= 1.1, < 1.9.15>= 1.10.0, < 1.10.8
1.9.15, 1.10.8

Blast radius

1affected artifacts
38affected versions
27,706dependent artifacts (est.)
1,884,276dependent versions

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

DepthDependent versions
Direct
61,768
2 hops
308,687
3 hops
479,331
4 hops
595,534
5 hops
339,219
6 hops
99,737

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