Apache Ant
At a glance
- Source
- NVD
- EPSS
- EPSS 7.76 % · percentile 95 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- apache
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-379 — Creation of Temporary File in Directory with Insecure Permissions
References
- https://lists.apache.org/thread.html/rc3c8ef9724b5b1e171529b47f4b35cb7920edfb6e917fa21eb6c64ea%40%3Cdev.ant.apache.org%3E
- https://lists.apache.org/thread.html/r1dc8518dc99c42ecca5ff82d0d2de64cd5d3a4fa691eb9ee0304781e%40%3Cdev.creadur.apache.org%3E
- https://lists.apache.org/thread.html/r4ca33fad3fb39d130cda287d5a60727d9e706e6f2cf2339b95729490%40%3Cdev.creadur.apache.org%3E
- https://lists.apache.org/thread.html/r107ea1b1a7a214bc72fe1a04207546ccef542146ae22952e1013b5cc%40%3Cdev.creadur.apache.org%3E
- https://lists.apache.org/thread.html/r2306b67f20c24942b872b0a41fbdc9330e8467388158bcd19c1094e0%40%3Cdev.creadur.apache.org%3E
- https://lists.apache.org/thread.html/r5e1cdd79f019162f76414708b2092acad0a6703d666d72d717319305%40%3Cdev.creadur.apache.org%3E
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3NRQQ7ECII4ZNGW7GBC225LVYMPQEKB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AALW42FWNQ35F7KB3JVRC6NBVV7AAYYI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DYBRN5C2RW7JRY75IB7Q7ZVKZCHWAQWS/
- https://security.gentoo.org/glsa/202011-18
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://github.com/gradle/gradle/security/advisories/GHSA-j45w-qrgf-25vm
- https://lists.apache.org/thread.html/raaeddc41da8f3afb1cb224876084a45f68e437a0afd9889a707e4b0c%40%3Cdev.creadur.apache.org%3E
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://lists.apache.org/thread.html/rbfe9ba28b74f39f46ec1bbbac3bef313f35017cf3aac13841a84483a%40%3Cdev.creadur.apache.org%3E
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-f62v-xpxf-3v68 — Code injection in Apache Ant
European references
- ENISA EUVD · EUVD-2021-0549
- GCVE · GCVE-0-2020-11979
CERT-FR advisories
- CERTFR-2026-AVI-0556 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0154 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2022-AVI-367 — Multiples vulnérabilités dans Oracle Systems · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:apache:ant:1.10.8:*:*:*:*:*:*:*cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*< 6.8.0cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*cpe:2.3:a:oracle:agile_engineering_data_management:6.2.1.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:api_gateway:11.1.2.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.4.1:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.6.2:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.7.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.7.1:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.8.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_treasury_management:14.4:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:*cpe:2.3:a:oracle:data_integrator:12.2.1.3.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:data_integrator:12.2.1.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:endeca_information_discovery_studio:3.2.0.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:enterprise_repository:11.1.1.7.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:financial_services_analytical_applications_infrastructure:*:*:*:*:*:*:*:*≥ 8.0.6 ≤ 8.0.9cpe:2.3:a:oracle:financial_services_analytical_applications_infrastructure:8.1.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:financial_services_analytical_applications_infrastructure:8.1.1:*:*:*:*:*:*:*cpe:2.3:a:oracle:flexcube_private_banking:12.0.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:flexcube_private_banking:12.1.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:*≥ 16.2.0 ≤ 16.2.11cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:*≥ 17.12.0 ≤ 17.12.9cpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:*≥ 17.7 ≤ 17.12cpe:2.3:a:oracle:primavera_unifier:16.1:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_unifier:16.2:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_unifier:18.8:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_unifier:19.12:*:*:*:*:*:*:*cpe:2.3:a:oracle:primavera_unifier:20.12:*:*:*:*:*:*:*cpe:2.3:a:oracle:real-time_decision_server:3.2.0.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:real-time_decision_server:11.1.1.9.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_advanced_inventory_planning:14.1:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_assortment_planning:16.0.3:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_category_management_planning_\&_optimization:16.0.3:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_eftlink:19.0.1:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_eftlink:20.0.0:*:*:*:*:*:*:*- +31 more
Affected products
| Product | Versions |
|---|---|
| Apache Ant | affected Apache Ant 1.10.8 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |