Vulnerability · Published Oct 1, 2020 · Assigned by apache

CVE-2020-11979

High 7.5

In plain English

A high-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 7.8% (higher than 95% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)7.8%top 5.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so that only the current user was allowed to access them. Unfortunately the fixcrlf task deleted the temporary file and created a new one without said protection, effectively nullifying the effort. This would still allow an attacker to inject modified source files into the build process.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20apache-ant1.10.9-r0ALPINE-CVE-2020-11979
Alpine:v3.21apache-ant1.10.9-r0ALPINE-CVE-2020-11979
Alpine:v3.22apache-ant1.10.9-r0ALPINE-CVE-2020-11979
Alpine:v3.23apache-ant1.10.9-r0ALPINE-CVE-2020-11979
Alpine:v3.24apache-ant1.10.9-r0ALPINE-CVE-2020-11979
Alpine:v3.20gradle6.8.3-r0ALPINE-CVE-2020-11979
Alpine:v3.21gradle6.8.3-r0ALPINE-CVE-2020-11979
Alpine:v3.22gradle6.8.3-r0ALPINE-CVE-2020-11979
Alpine:v3.23gradle6.8.3-r0ALPINE-CVE-2020-11979
Alpine:v3.24gradle6.8.3-r0ALPINE-CVE-2020-11979
Debian:12ant1.10.9-1DEBIAN-CVE-2020-11979
Debian:13ant1.10.9-1DEBIAN-CVE-2020-11979
Debian:14ant1.10.9-1DEBIAN-CVE-2020-11979
Mavenorg.apache.ant:ant1.10.9GHSA-f62v-xpxf-3v68

Affected products (as reported)

VendorProductVersions
n/a Apache Ant Apache Ant 1.10.8

Weakness: CWE-379

References