GHSA-4p6w-m9wc-c9c9

Sensitive Data Exposure in Apache Ant

At a glance

Published
Updated
CVE
CVE-2020-1945
CVSS_V3
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

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 packages

PackageVersions
Maven · org.apache.ant:antintroduced 1.1, fixed 1.9.15
Maven · org.apache.ant:antintroduced 1.10.0, fixed 1.10.8

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database