CVE-2020-1945 — Apache Ant 1
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 bac
Published
2020-05-14T15:57:34.000Z
Last modified
2024-08-04T06:54:00.377Z
01What is this vulnerability?
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.
02Affected products
| Vendor | Product | Versions |
|---|
| n | a / Apache Ant | Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2020-05-14T15:57:34.000Z
- Last modified: 2024-08-04T06:54:00.377Z
09References
- lists.apache.org — https://lists.apache.org/thread.html/rda80ac59119558eaec452e58ddfac2ccc9211da1c6…
- lists.apache.org — https://lists.apache.org/thread.html/rfd346609527a79662c48b1da3ac500ec30f29f7dda…
- lists.apache.org — https://lists.apache.org/thread.html/re1ce84518d773a94a613d988771daf9252c9cf7375…
- lists.apache.org — https://lists.apache.org/thread.html/r95dc943e47a211d29df605e14f86c280fc9fa8d828…
- lists.apache.org — https://lists.apache.org/thread.html/rd7dda48ff835f4d0293949837d55541bfde3683bd3…
- lists.apache.org — https://lists.apache.org/thread.html/r1863b9ce4c3e4b1e5b0c671ad05545ba3eb8399616…
- lists.apache.org — https://lists.apache.org/thread.html/rdaa9c51d5dc6560c9d2b3f3d742c768ad0705e1540…
- lists.apache.org — https://lists.apache.org/thread.html/r1b32c76afffcf676e13ed635a3332f3e46e6aaa772…
- lists.apache.org — https://lists.apache.org/thread.html/r0d08a96ba9de8aa435f32944e8b2867c368a518d4f…
- lists.apache.org — https://lists.apache.org/thread.html/r4b2904d64affd4266cd72ccb2fc3927c1c2f22009f…
- lists.apache.org — https://lists.apache.org/thread.html/r6edd3e2cb79ee635630d891b54a4f1a9cd8c7f639d…
- usn.ubuntu.com — https://usn.ubuntu.com/4380-1/
- lists.fedoraproject.org — https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro…
- lists.fedoraproject.org — https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro…
- lists.apache.org — https://lists.apache.org/thread.html/r8e24abb7dd77cda14c6df90a377c94f0a413bbfcec…
- lists.apache.org — https://lists.apache.org/thread.html/r2704fb14ce068c64759a986f81d5b5e42ab434fa13…
- www.oracle.com — https://www.oracle.com/security-alerts/cpujul2020.html
- lists.apache.org — https://lists.apache.org/thread.html/r8e592bbfc016a5dbe2a8c0e81ff99682b9c78c4536…
- lists.apache.org — https://lists.apache.org/thread.html/r6e295d792032ec02b32be3846c21a58857fba4a077…
- lists.opensuse.org — http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00053.html
- security.gentoo.org — https://security.gentoo.org/glsa/202007-34
- lists.apache.org — https://lists.apache.org/thread.html/r815f88d1044760176f30a4913b4baacd06f3eae4eb…
- lists.apache.org — https://lists.apache.org/thread.html/r5dfc77048b1f9db26622dce91a6edf083d49939725…
- lists.apache.org — https://lists.apache.org/thread.html/rc3c8ef9724b5b1e171529b47f4b35cb7920edfb6e9…
- lists.apache.org — https://lists.apache.org/thread.html/rb8ec556f176c83547b959150e2108e2ddf1d612242…
- lists.apache.org — https://lists.apache.org/thread.html/rc89e491b5b270fb40f1210b70554527b737c217ad2…
- lists.apache.org — https://lists.apache.org/thread.html/rf07feaf78afc8f701e21948a06ef92565d3dff1242…
- lists.apache.org — https://lists.apache.org/thread.html/r1a9c992d7c8219dc15b4ad448649f0ffdaa88d76ef…
- www.openwall.com — http://www.openwall.com/lists/oss-security/2020/09/30/6
- lists.apache.org — https://lists.apache.org/thread.html/r1dc8518dc99c42ecca5ff82d0d2de64cd5d3a4fa69…
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →