ADVISORIES

Alpine Security Database

ALPINE-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
Alpine:v3.11apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.12apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.13apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.14apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.15apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.16apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.17apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.18apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.19apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.20apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.21apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.22apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.23apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)
Alpine:v3.24apache-ant
All versions before 1.10.8-r0 (fixed in 1.10.8-r0)

References