Sensitive Data Exposure in Apache Ant
Moderate severity
GitHub Reviewed
Published
Sep 14, 2020
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Package
Affected versions
>= 1.1, < 1.9.15
>= 1.10.0, < 1.10.8
Patched versions
1.9.15
1.10.8
Description
Published by the National Vulnerability Database
May 14, 2020
Reviewed
Sep 14, 2020
Published to the GitHub Advisory Database
Sep 14, 2020
Last updated
Feb 1, 2023
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.
References