CVE-2020-11979
Code injection in Apache Ant
Reported by apache · Published October 1, 2020
ant is fixed in 1.10.9 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.ant:ant | Maven Central | 1.10.9 |
| gradle | Alpine | 6.8.3-r0 |
| apache-ant | Alpine | 1.10.9-r0 |
| gradle | Bitnami | 6.8.0 |
| alpine/gradle-8 | alpine | 6.8.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Apache Ant | Apache Ant 1.10.8 |
| n/a | Apache Ant | 1.10.8 |
Timeline
- Oct 1, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (4 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (4 in total, the first dated here)
- Sep 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-11979
vulnetix vdb fixes CVE-2020-11979
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-11979/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- [creadur-dev] 20201006 [jira] [Commented] (RAT-274) Update to at least Ant 1.10.8/1.9.15 in order to fix CVE-2020-11979 mailing-listx_refsource_MLIST
- [creadur-dev] 20201006 [jira] [Assigned] (RAT-274) Update to at least Ant 1.10.8/1.9.15 in order to fix CVE-2020-11979 mailing-listx_refsource_MLIST
- [creadur-dev] 20201006 [jira] [Updated] (RAT-274) Update to at least Ant 1.10.8/1.9.15 in order to fix CVE-2020-11979 mailing-listx_refsource_MLIST
- [creadur-dev] 20201006 [jira] [Updated] (RAT-274) Update to at least Ant 1.10.8/1.9.15 in order to fix CVE-2020-11979 / raise compiler level to JDK8 mailing-listx_refsource_MLIST
- [creadur-dev] 20201006 [jira] [Resolved] (RAT-274) Update to at least Ant 1.10.8/1.9.15 in order to fix CVE-2020-11979 / raise compiler level to JDK8 mailing-listx_refsource_MLIST
- FEDORA-2020-2640aa4e19 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-92b1d001b3 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-3ce0f55bc5 vendor-advisoryx_refsource_FEDORA
- GLSA-202011-18 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- x_refsource_MISC
- [creadur-dev] 20210419 [jira] [Commented] (RAT-274) Update to at least Ant 1.10.8/1.9.15 in order to fix CVE-2020-11979 / raise compiler level to JDK8 mailing-listx_refsource_MLIST
- x_refsource_MISC
- [creadur-dev] 20210621 [jira] [Commented] (RAT-274) Update to at least Ant 1.10.8/1.9.15 in order to fix CVE-2020-11979 / raise compiler level to JDK8 mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC