Live threats

All CVEs / Apache

CVE-2020-1945Apache Ant

Medium 6.3

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ant.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apacheant≥ 1.1 ≤ 1.9.14
apacheant≥ 1.10.0 ≤ 1.10.7
canonicalubuntu_linux19.10
fedoraprojectfedora31
fedoraprojectfedora32
opensuseleap15.2
oracleagile_engineering_data_management6.2.1.0
oraclebanking_enterprise_collections≥ 2.7.0 ≤ 2.9.0
oraclebanking_liquidity_management≥ 14.0.0 ≤ 14.4.0
oraclebanking_platform≥ 2.4.0 ≤ 2.9.0
oraclebusiness_process_management_suite12.2.1.3.0
oraclebusiness_process_management_suite12.2.1.4.0
oraclecategory_management_planning_&_optimization15.0.3
oraclecommunications_asap7.3
oraclecommunications_diameter_signaling_router≥ 8.0.0 ≤ 8.2.2
oraclecommunications_metasolv_solution6.3.0
oraclecommunications_order_and_service_management7.3
oraclecommunications_order_and_service_management7.4
oracledata_integrator12.2.1.3.0
oracledata_integrator12.2.1.4.0
oracleendeca_information_discovery_studio3.2.0
oracleenterprise_manager_ops_center12.4.0.0
oracleenterprise_repository11.1.1.7.0
oraclefinancial_services_analytical_applications_infrastructure≥ 8.0.6 ≤ 8.1.0
oracleflexcube_investor_servicing12.1.0
oracleflexcube_investor_servicing12.3.0
oracleflexcube_investor_servicing12.4.0
oracleflexcube_investor_servicing14.0.0
oracleflexcube_investor_servicing14.1.0
oracleflexcube_private_banking12.0.0
oracleflexcube_private_banking12.1.0
oraclehealth_sciences_information_manager≥ 3.0 ≤ 3.0.2
oracleprimavera_gateway≥ 16.2.0 ≤ 16.2.11
oracleprimavera_gateway≥ 17.12.0 ≤ 17.12.7
oracleprimavera_unifier≥ 17.7 ≤ 17.12
oracleprimavera_unifier16.1
oracleprimavera_unifier16.2
oracleprimavera_unifier18.8
oracleprimavera_unifier19.12
oraclerapid_planning12.1
oraclerapid_planning12.2
oraclereal-time_decision_server3.2.1.0
oracleretail_advanced_inventory_planning14.1
oracleretail_advanced_inventory_planning15.0
oracleretail_advanced_inventory_planning16.0
oracleretail_assortment_planning15.0.3
oracleretail_assortment_planning16.0.3
oracleretail_back_office14.0
oracleretail_back_office14.1
oracleretail_bulk_data_integration15.0
oracleretail_bulk_data_integration16.0
oracleretail_bulk_data_integration16.0.3.0
oracleretail_bulk_data_integration19.0.1
oracleretail_central_office14.0
oracleretail_central_office14.1
oracleretail_data_extractor_for_merchandising1.9
oracleretail_data_extractor_for_merchandising1.10
oracleretail_extract_transform_and_load13.2.5
oracleretail_extract_transform_and_load13.2.8
oracleretail_financial_integration14.1.3.2

and 57 more in the JSON

Official sources

References

Links published by the sources. Open them with care.