Back
CVE-2020-1945
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…
Medium6.3EPSS 1.8%
- Published
- Updated
- Reserved
- Assigned by
- apache
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.3 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.8% · top 22% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Weakness
- insecure temporary file vulnerability
- CWE-668 (opens in a new tab)All about CWE-668 and its CVEs
Affected products
Apache Ant
- affected Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.ant:antGHSA-4p6w-m9wc-c9c9 (opens in a new tab)
References (52)
- [creadur-dev] 20200518 [jira] [Created] (RAT-269) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [creadur-commits] 20200518 [creadur-rat] 03/03: RAT-269: Update Apache ANT to fix CVE-2020-1945 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [creadur-commits] 20200518 [creadur-rat] branch master updated: RAT-269: Update Apache ANT to fix CVE-2020-1945 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [creadur-dev] 20200518 [jira] [Closed] (RAT-269) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [creadur-dev] 20200518 [jira] [Commented] (RAT-269) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [creadur-dev] 20200518 [jira] [Assigned] (RAT-269) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [groovy-notifications] 20200522 [jira] [Closed] (GROOVY-9552) Bump Ant versions to address: [CVE-2020-1945] Apache Ant insecure temporary file vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [hive-dev] 20200530 [jira] [Created] (HIVE-23583) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [hive-issues] 20200530 [jira] [Assigned] (HIVE-23583) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [hive-issues] 20200530 [jira] [Updated] (HIVE-23583) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [hive-issues] 20200530 [jira] [Commented] (HIVE-23583) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-4380-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- FEDORA-2020-52741b0a49 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2020-7f07da3fef (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [hive-issues] 20200621 [jira] [Commented] (HIVE-23583) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [creadur-dev] 20200703 [jira] [Commented] (RAT-269) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpujul2020.html (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.apache.org/thread.html/r8e592bbfc016a5dbe2a8c0e81ff99682b9c78c453621b82c14e7b75e%40%3Cdev.ant.apache.org%3E (opens in a new tab)x_refsource_MISCx_transferred
- [db-torque-dev] 20200715 svn commit: r1879896 - in /db/torque/torque4/trunk: ./ torque-ant-tasks/ torque-ant-tasks/src/test/java/org/apache/torque/ant/task/ torque-generator/src/main/java/org/apache/torque/generator/control/ torque-generator/src/main/java/org/apache/torque/gen... (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- openSUSE-SU-2020:1022 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- GLSA-202007-34 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [hive-issues] 20200804 [jira] [Commented] (HIVE-23583) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [myfaces-commits] 20200826 [myfaces-tobago] branch tobago-2.x updated: update ant because of CVE-2020-1945 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ant-dev] 20200930 [CVE-2020-11979] Apache Ant insecure temporary file vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20200930 [CVE-2020-11979] Apache Ant insecure temporary file vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ant-user] 20200930 [CVE-2020-11979] Apache Ant insecure temporary file vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [creadur-dev] 20200930 [jira] [Updated] (RAT-274) Update to at least Ant 1.10.8/1.9.15 in order to fix CVE-2020-11979 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [creadur-dev] 20200930 [jira] [Created] (RAT-274) Update to latest Ant in order to fix CVE-2020-11979 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20200930 [CVE-2020-11979] Apache Ant insecure temporary file vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [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 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [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 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [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 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [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 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [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 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpuoct2020.html (opens in a new tab)x_refsource_MISCx_transferred
- [hive-issues] 20201022 [jira] [Commented] (HIVE-23583) Fix CVE-2020-1945: Apache Ant insecure temporary file vulnerability by updating to latest ANT (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [groovy-notifications] 20201126 [jira] [Updated] (GROOVY-9552) Bump Ant versions to address: [CVE-2020-1945] Apache Ant insecure temporary file vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [groovy-notifications] 20201126 [jira] [Comment Edited] (GROOVY-9552) Bump Ant versions to address: [CVE-2020-1945] Apache Ant insecure temporary file vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [groovy-commits] 20201126 [groovy] branch GROOVY_2_4_X updated: GROOVY-9552: Bump Ant versions to address: [CVE-2020-1945] Apache Ant insecure temporary file vulnerability (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [groovy-users] 20201205 [SECURITY] CVE-2020-17521: Apache Groovy Information Disclosure (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [groovy-dev] 20201205 [SECURITY] CVE-2020-17521: Apache Groovy Information Disclosure (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20201206 [CVE-2020-17521]: Apache Groovy Information Disclosure (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20201205 [SECURITY] CVE-2020-17521: Apache Groovy Information Disclosure (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [groovy-notifications] 20201207 [jira] [Closed] (GROOVY-9824) CVE-2020-17521 Apache Groovy Information Disclosure (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [myfaces-commits] 20201211 [myfaces-tobago] 02/22: update ant because of CVE-2020-1945 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpujan2021.html (opens in a new tab)x_refsource_MISCx_transferred
- [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 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpuApr2021.html (opens in a new tab)x_refsource_MISCx_transferred
- [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 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com//security-alerts/cpujul2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-4p6w-m9wc-c9c9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-1945)Record last updated .