Vulnerability · Published May 14, 2020 · Assigned by apache

CVE-2020-1945

Medium 6.3

In plain English

A medium-severity security flaw in Apache Ant. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.3Medium
Exploit odds (30 days)1.8%top 21.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20apache-ant1.10.8-r0ALPINE-CVE-2020-1945
Alpine:v3.21apache-ant1.10.8-r0ALPINE-CVE-2020-1945
Alpine:v3.22apache-ant1.10.8-r0ALPINE-CVE-2020-1945
Alpine:v3.23apache-ant1.10.8-r0ALPINE-CVE-2020-1945
Alpine:v3.24apache-ant1.10.8-r0ALPINE-CVE-2020-1945
Debian:12ant1.10.8-1DEBIAN-CVE-2020-1945
Debian:13ant1.10.8-1DEBIAN-CVE-2020-1945
Debian:14ant1.10.8-1DEBIAN-CVE-2020-1945
Mavenorg.apache.ant:ant1.10.8GHSA-4p6w-m9wc-c9c9
Mavenorg.apache.ant:ant1.9.15GHSA-4p6w-m9wc-c9c9

Affected products (as reported)

VendorProductVersions
n/a Apache Ant Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7

References