CVEfocus › CVE database › CVE-2020-11979

CVE-2020-11979

CVSS 7.5 HighEPSS 6.9% (higher than 95% of CVEs)Published 2020-10-01Updated 2026-10-08Assigner: apache

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.

CWE-379

What to do

Fixed builds are available from Alpine, Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

29Fixed
4Fix pending
42Will not fix
26Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04antNot affected
vulnerable_code_not_present
Ubuntu 25.10antNot affected
vulnerable_code_not_present
Ubuntu 24.04antNot affected
vulnerable_code_not_present
Ubuntu 22.04antNot affected
vulnerable_code_not_present
Ubuntu 20.04antFix pendingUBUNTU-CVE-2020-11979
Ubuntu 18.04antFix pendingUBUNTU-CVE-2020-11979
Ubuntu 16.04antFix pendingUBUNTU-CVE-2020-11979
Ubuntu 14.04antFix pendingUBUNTU-CVE-2020-11979
Debian 14antFixed1.10.9-1DEBIAN-CVE-2020-11979
Debian 13antFixed1.10.9-1DEBIAN-CVE-2020-11979
Debian 12antFixed1.10.9-1DEBIAN-CVE-2020-11979
Red Hat Enterprise Linux 8antNot affected
Red Hat Enterprise Linux 8ant-antlrNot affected
Red Hat Enterprise Linux 8ant-apache-bcelNot affected
Red Hat Enterprise Linux 8ant-apache-bsfNot affected
Red Hat Enterprise Linux 8ant-apache-log4jNot affected
Red Hat Enterprise Linux 8ant-apache-oroNot affected
Red Hat Enterprise Linux 8ant-apache-regexpNot affected
Red Hat Enterprise Linux 8ant-apache-resolverNot affected
Red Hat Enterprise Linux 8ant-apache-xalan2Not affected
Red Hat Enterprise Linux 8ant-commons-loggingNot affected
Red Hat Enterprise Linux 8ant-commons-netNot affected
Red Hat Enterprise Linux 8ant-javadocNot affected
Red Hat Enterprise Linux 8ant-javamailNot affected
Red Hat Enterprise Linux 8ant-jdependNot affected
Red Hat Enterprise Linux 8ant-jmfNot affected
Red Hat Enterprise Linux 8ant-jschNot affected
Red Hat Enterprise Linux 8ant-junitNot affected
Red Hat Enterprise Linux 8ant-libNot affected
Red Hat Enterprise Linux 8ant-manualNot affected
Red Hat Enterprise Linux 8ant-swingNot affected
Red Hat Enterprise Linux 8ant-testutilNot affected
Red Hat Enterprise Linux 8ant-xzNot affected
Red Hat Enterprise Linux 7antWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-antlrWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-apache-bcelWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-apache-bsfWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-apache-log4jWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-apache-oroWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-apache-regexpWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-apache-resolverWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-apache-xalan2Will not fix
Out of support scope
Red Hat Enterprise Linux 7ant-commons-loggingWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-commons-netWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-javamailWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-jdependWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-jmfWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-jschWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-junitWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-manualWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-swingWill not fix
Out of support scope
Red Hat Enterprise Linux 7ant-testutilWill not fix
Out of support scope
Red Hat Enterprise Linux 6antWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-antlrWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-apache-bcelWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-apache-bsfWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-apache-log4jWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-apache-oroWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-apache-regexpWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-apache-resolverWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-commons-loggingWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-commons-netWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-javamailWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-jdependWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-jmfWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-jschWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-junitWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-manualWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-nodepsWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-scriptsWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-swingWill not fix
Out of support scope
Red Hat Enterprise Linux 6ant-traxWill not fix
Out of support scope
Red Hat Enterprise Linux 5antWill not fix
Out of support scope
Alpine Linux 3.24apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.24gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.23apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.23gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.22apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.22gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.21apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.21gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.20apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.20gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.19apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.19gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.18apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.18gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.17apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.17gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.16apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.16gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.15apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.15gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.14apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.14gradleFixed6.8.3-r0ALPINE-CVE-2020-11979
Alpine Linux 3.13apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.12apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Alpine Linux 3.11apache-antFixed1.10.9-r0ALPINE-CVE-2020-11979
Maven libraryorg.apache.ant:antFixed1.10.9GHSA-f62v-xpxf-3v68

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.