CVE-2020-11979 json
Code injection in Apache Ant
published 2020-10-01 6 y ago modified 2026-10-08 31 d ago also BIT-gradle-2020-11979 , EUVD-2021-0549 , GHSA-f62v-xpxf-3v68 , GHSA-j45w-qrgf-25vm
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.8%
- EPSS 7.8% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.ant:ant 1.10.9
- bitnami gradle 6.8.0
- gradle gradle 6.8.0
- oracle timesten_in-memory_database 11.2.2.8.27
- ant Debian 14, Debian 13, Debian 12 1.10.9-1
debian advisories DEBIAN-CVE-2020-11979
- jenkins openshift 3.11 2.263.3.1612433584-1.el7
- python-rsa openshift 3.11 4.5-3.el7
- python2-rsa openshift 3.11 4.5-3.el7
- jenkins-2-plugins openshift 3.11 3.11.1612862361-1.el7
- runc openshift 4.5 1.0.0-72.rhaos4.5.giteadfc6b.el8
- conmon openshift 4.5 2:2.0.21-1.rhaos4.5.el7
- conmon openshift 4.5 2:2.0.21-1.rhaos4.5.el8
- jenkins openshift 4.5 2.263.3.1612434332-1.el7
red hat advisories RHSA-2021:0637RHSA-2021:0429RHSA-2021:0423
- ant SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.9.4-3.12.1
- ant-antlr SLE Software Development Kit 12 SP5 1.9.4-3.12.3
suse advisories SUSE-SU-2022:4022-1
- ant openSUSE Tumbleweed 1.10.10-1.2
opensuse advisories openSUSE-SU-2024:10616-1
- gradle Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 6.8.3-r0
- apache-ant Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 1.10.9-r0
alpine advisories ALPINE-CVE-2020-11979
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ant Arch Linux 1.10.9-1
arch linux advisories AVG-1312
- github.com/apache/ant@87ac51d commit
- oracle.com/security-alerts/cpujan2021.html advisory
- oracle.com/security-alerts/cpuApr2021.html advisory
- oracle.com//security-alerts/cpujul2021.html advisory
- oracle.com/security-alerts/cpuoct2021.html advisory
- oracle.com/security-alerts/cpujan2022.html advisory
- oracle.com/security-alerts/cpuapr2022.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-11979 updated cvss 6.2
ant: insecure temporary file
-
Red Hat BPM Suite 6 antaffected: no fix planned “Out of support scope”
-
Red Hat Decision Manager 7 antaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 5 ant Red Hat Enterprise Linux 6 ant, ant-jmf, ant-jsch, ant-trax, ant-antlr, ant-junit, +15 more Red Hat Enterprise Linux 7 ant, ant-jmf, ant-jsch, ant-antlr, ant-junit, ant-swing, +14 more Red Hat JBoss BRMS 5 ant Red Hat JBoss Data Virtualization 6 ant Red Hat JBoss Enterprise Application Platform 5 antaffected: no fix planned “Out of support scope”
+3 more productsfewer
Red Hat JBoss Enterprise Application Platform 6 ant Red Hat JBoss Fuse Service Works 6 ant Red Hat JBoss Operations Network 3 ant -
Red Hat OpenShift Container Platform 4 openshift4/ose-metering-hive Red Hat Process Automation 7 antaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 3.11 jenkins 2.263.3.1612433584-1.el7fixed: vendor fix RHSA-2021:0637
-
Red Hat OpenShift Container Platform 4.5 conmon 2.0.21-1.rhaos4.5.el7, conmon 2.0.21-1.rhaos4.5.el8, jenkins 2.263.3.1612434332-1.el7, runc 1.0.0-72.rhaos4.5.giteadfc6b.el8, openshift 4.5.0-202102050524.p0.git.0.9229406.el7, openshift 4.5.0-202102050524.p0.git.0.9229406.el8, +9 morefixed: vendor fix RHSA-2021:0429
-
Red Hat OpenShift Container Platform 4.6 jenkins 2.263.3.1612434510-1.el8fixed: vendor fix RHSA-2021:0423
-
Red Hat Enterprise Linux 8 ant, ant-xz, ant-jmf, ant-lib, ant-jsch, ant-antlr, +16 more Red Hat OpenShift Container Platform 3.11 jenkins-2-plugins, haproxy 1.8.28-1.el7, python-rsa 4.5-3.el7, python2-rsa 4.5-3.el7, haproxy18 1.8.28-1.el7, jenkins-2-plugins 3.11.1612862361-1.el7, +40 more Red Hat OpenShift Container Platform 4 jenkins-2-plugins Red Hat OpenShift Container Platform 4.6 python-rsa 4.7-1.el8, python3-rsa 4.7-1.el8, runc 1.0.0-82.rhaos4.6.git086e841.el7, runc 1.0.0-82.rhaos4.6.git086e841.el8, cri-o 1.19.1-7.rhaos4.6.git6377f68.el7, jenkins-2-plugins 4.6.1612257979-1.el8, +16 more Red Hat Single Sign-On 7 rh-sso7-keycloak rh-sso7-keycloak Red Hat streams for Apache Kafka antnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
7.76% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.ant:ant | <1.10.9 |
1.10.9 |
| bitnami | gradle | <6.8.0 |
6.8.0 |
Affected products
- n/a Apache Ant
Classification
References
-
oracle.com
/security-alerts/cpujan2021.html
web, patch, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpuApr2021.html
web, patch, third-party-advisory, advisory
-
oracle.com
//security-alerts/cpujul2021.html
web, patch, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpuoct2021.html
web, patch, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory, advisory
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory, advisory
-
github.com
/apache/ant/commit/87ac51d3c22bcf7cfd0dc07cb0bd04a496e0d428
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/U3NRQQ7ECII4ZNGW7GBC225LVYMPQEKB/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/AALW42FWNQ35F7KB3JVRC6NBVV7AAYYI/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/DYBRN5C2RW7JRY75IB7Q7ZVKZCHWAQWS/
vendor-advisory, web
-
security.gentoo.org
/glsa/202011-18
vendor-advisory, web, third-party-advisory, advisory
-
lists.apache.org
/thread.html/rc3c8ef9724b5b1e171529b47f4b35cb7920edfb6e917fa21eb6c64ea%40%3Cdev.ant.apache.org%3E
web, mailing-list, vendor-advisory, advisory
-
lists.apache.org
/thread.html/r1dc8518dc99c42ecca5ff82d0d2de64cd5d3a4fa691eb9ee0304781e%40%3Cdev.creadur.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r4ca33fad3fb39d130cda287d5a60727d9e706e6f2cf2339b95729490%40%3Cdev.creadur.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r107ea1b1a7a214bc72fe1a04207546ccef542146ae22952e1013b5cc%40%3Cdev.creadur.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r2306b67f20c24942b872b0a41fbdc9330e8467388158bcd19c1094e0%40%3Cdev.creadur.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r5e1cdd79f019162f76414708b2092acad0a6703d666d72d717319305%40%3Cdev.creadur.apache.org%3E
mailing-list, web
-
github.com
/gradle/gradle/security/advisories/GHSA-j45w-qrgf-25vm
web, third-party-advisory, advisory
-
lists.apache.org
/thread.html/raaeddc41da8f3afb1cb224876084a45f68e437a0afd9889a707e4b0c%40%3Cdev.creadur.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/rbfe9ba28b74f39f46ec1bbbac3bef313f35017cf3aac13841a84483a%40%3Cdev.creadur.apache.org%3E
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2020-11979
advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/U3NRQQ7ECII4ZNGW7GBC225LVYMPQEKB
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/DYBRN5C2RW7JRY75IB7Q7ZVKZCHWAQWS
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/AALW42FWNQ35F7KB3JVRC6NBVV7AAYYI
web
-
lists.apache.org
/thread.html/rbfe9ba28b74f39f46ec1bbbac3bef313f35017cf3aac13841a84483a@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/raaeddc41da8f3afb1cb224876084a45f68e437a0afd9889a707e4b0c@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/r5e1cdd79f019162f76414708b2092acad0a6703d666d72d717319305@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/r4ca33fad3fb39d130cda287d5a60727d9e706e6f2cf2339b95729490@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/r2306b67f20c24942b872b0a41fbdc9330e8467388158bcd19c1094e0@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/r1dc8518dc99c42ecca5ff82d0d2de64cd5d3a4fa691eb9ee0304781e@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/r107ea1b1a7a214bc72fe1a04207546ccef542146ae22952e1013b5cc@%3Cdev.creadur.apache.org%3E
web
-
github.com
/apache/ant
package
Sources
- CVE List CVE-2020-11979
- GitHub Advisory GHSA-f62v-xpxf-3v68
- NVD CVE-2020-11979
- OSV BIT-gradle-2020-11979
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.