ADVISORIES

GitHub Advisory Database

GHSA-4p6w-m9wc-c9c9

Sensitive Data Exposure in Apache Ant

Moderate CVE-2020-1945

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.apache.ant:ant
From 1.1 before 1.9.15 (fixed in 1.9.15)
Mavenorg.apache.ant:ant
From 1.10.0 before 1.10.8 (fixed in 1.10.8)

References