CVE-2020-1945Apache Ant
Medium 6.3
Follow: this CVE · Apache · Apache Ant We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.3
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 61
- Auth required
- Yes
- Published
- May 14, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-668
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Ant.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.ant:ant |
≥ 1.1 < 1.9.15 |
1.9.15 |
— |
| Maven | org.apache.ant:ant |
≥ 1.10.0 < 1.10.8 |
1.10.8 |
— |
Per OSV / GitHub Advisories (GHSA-4p6w-m9wc-c9c9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | ant | ≥ 1.1 ≤ 1.9.14 |
| apache | ant | ≥ 1.10.0 ≤ 1.10.7 |
| canonical | ubuntu_linux | 19.10 |
| fedoraproject | fedora | 31 |
| fedoraproject | fedora | 32 |
| opensuse | leap | 15.2 |
| oracle | agile_engineering_data_management | 6.2.1.0 |
| oracle | banking_enterprise_collections | ≥ 2.7.0 ≤ 2.9.0 |
| oracle | banking_liquidity_management | ≥ 14.0.0 ≤ 14.4.0 |
| oracle | banking_platform | ≥ 2.4.0 ≤ 2.9.0 |
| oracle | business_process_management_suite | 12.2.1.3.0 |
| oracle | business_process_management_suite | 12.2.1.4.0 |
| oracle | category_management_planning_&_optimization | 15.0.3 |
| oracle | communications_asap | 7.3 |
| oracle | communications_diameter_signaling_router | ≥ 8.0.0 ≤ 8.2.2 |
| oracle | communications_metasolv_solution | 6.3.0 |
| oracle | communications_order_and_service_management | 7.3 |
| oracle | communications_order_and_service_management | 7.4 |
| oracle | data_integrator | 12.2.1.3.0 |
| oracle | data_integrator | 12.2.1.4.0 |
| oracle | endeca_information_discovery_studio | 3.2.0 |
| oracle | enterprise_manager_ops_center | 12.4.0.0 |
| oracle | enterprise_repository | 11.1.1.7.0 |
| oracle | financial_services_analytical_applications_infrastructure | ≥ 8.0.6 ≤ 8.1.0 |
| oracle | flexcube_investor_servicing | 12.1.0 |
| oracle | flexcube_investor_servicing | 12.3.0 |
| oracle | flexcube_investor_servicing | 12.4.0 |
| oracle | flexcube_investor_servicing | 14.0.0 |
| oracle | flexcube_investor_servicing | 14.1.0 |
| oracle | flexcube_private_banking | 12.0.0 |
| oracle | flexcube_private_banking | 12.1.0 |
| oracle | health_sciences_information_manager | ≥ 3.0 ≤ 3.0.2 |
| oracle | primavera_gateway | ≥ 16.2.0 ≤ 16.2.11 |
| oracle | primavera_gateway | ≥ 17.12.0 ≤ 17.12.7 |
| oracle | primavera_unifier | ≥ 17.7 ≤ 17.12 |
| oracle | primavera_unifier | 16.1 |
| oracle | primavera_unifier | 16.2 |
| oracle | primavera_unifier | 18.8 |
| oracle | primavera_unifier | 19.12 |
| oracle | rapid_planning | 12.1 |
| oracle | rapid_planning | 12.2 |
| oracle | real-time_decision_server | 3.2.1.0 |
| oracle | retail_advanced_inventory_planning | 14.1 |
| oracle | retail_advanced_inventory_planning | 15.0 |
| oracle | retail_advanced_inventory_planning | 16.0 |
| oracle | retail_assortment_planning | 15.0.3 |
| oracle | retail_assortment_planning | 16.0.3 |
| oracle | retail_back_office | 14.0 |
| oracle | retail_back_office | 14.1 |
| oracle | retail_bulk_data_integration | 15.0 |
| oracle | retail_bulk_data_integration | 16.0 |
| oracle | retail_bulk_data_integration | 16.0.3.0 |
| oracle | retail_bulk_data_integration | 19.0.1 |
| oracle | retail_central_office | 14.0 |
| oracle | retail_central_office | 14.1 |
| oracle | retail_data_extractor_for_merchandising | 1.9 |
| oracle | retail_data_extractor_for_merchandising | 1.10 |
| oracle | retail_extract_transform_and_load | 13.2.5 |
| oracle | retail_extract_transform_and_load | 13.2.8 |
| oracle | retail_financial_integration | 14.1.3.2 |
and 57 more in the JSON
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org Mailing List Vendor Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org