{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.ant:ant. It affects 50 products.","exploited":"There is no known exploitation of CVE-2020-1945 in the wild and no public exploit code.","fix":"Upgrade org.apache.ant:ant to a fixed version for your release line: 1.9.15 or 1.10.8.","what":"CVE-2020-1945 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 14 May 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-1945 and fix it if it is affected.\n\nWhat it is: CVE-2020-1945 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 14 May 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-1945 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.ant:ant (Maven): affected from 1.1; fixed in 1.9.15\n- org.apache.ant:ant (Maven): affected from 1.1; fixed in 1.9.15\n- org.apache.ant:ant (Maven): affected from 1.10.0; fixed in 1.10.8\n- org.apache.ant:ant (Maven): affected from 1.10.0; fixed in 1.10.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-1945/ (Markdown: https://insights.sbomify.com/CVE-2020-1945/index.md)","id":"CVE-2020-1945","markdown":"https://insights.sbomify.com/CVE-2020-1945/index.md","name":"CVE-2020-1945","record":{"aliases":["CLEANSTART-2025-RL13274","DEBIAN-CVE-2020-1945","GHSA-4p6w-m9wc-c9c9","MGASA-2020-0237","MINI-56x6-4pm6-mgfh","MINI-fvvf-9gxq-m3g6","MINI-gv9g-5fq4-f6m3","SUSE-SU-2020:1944-1","UBUNTU-CVE-2020-1945","USN-4874-1","openSUSE-SU-2020:1022-1","openSUSE-SU-2024:11676-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java build tool","requires_auth":"low_privilege","summary":"Apache Ant leaks sensitive data via shared temp directories and allows source file injection, impacting build integrity and confidentiality.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"ant","vendor":"apache"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"fedora","vendor":"fedoraproject"},{"product":"leap","vendor":"opensuse"},{"product":"agile_engineering_data_management","vendor":"oracle"},{"product":"banking_enterprise_collections","vendor":"oracle"},{"product":"banking_liquidity_management","vendor":"oracle"},{"product":"banking_platform","vendor":"oracle"},{"product":"business_process_management_suite","vendor":"oracle"},{"product":"category_management_planning_\\\u0026_optimization","vendor":"oracle"},{"product":"communications_asap","vendor":"oracle"},{"product":"communications_diameter_signaling_router","vendor":"oracle"},{"product":"communications_metasolv_solution","vendor":"oracle"},{"product":"communications_order_and_service_management","vendor":"oracle"},{"product":"data_integrator","vendor":"oracle"},{"product":"endeca_information_discovery_studio","vendor":"oracle"},{"product":"enterprise_manager_ops_center","vendor":"oracle"},{"product":"enterprise_repository","vendor":"oracle"},{"product":"financial_services_analytical_applications_infrastructure","vendor":"oracle"},{"product":"flexcube_investor_servicing","vendor":"oracle"},{"product":"flexcube_private_banking","vendor":"oracle"},{"product":"health_sciences_information_manager","vendor":"oracle"},{"product":"primavera_gateway","vendor":"oracle"},{"product":"primavera_unifier","vendor":"oracle"},{"product":"rapid_planning","vendor":"oracle"},{"product":"real-time_decision_server","vendor":"oracle"},{"product":"retail_advanced_inventory_planning","vendor":"oracle"},{"product":"retail_assortment_planning","vendor":"oracle"},{"product":"retail_back_office","vendor":"oracle"},{"product":"retail_bulk_data_integration","vendor":"oracle"},{"product":"retail_central_office","vendor":"oracle"},{"product":"retail_data_extractor_for_merchandising","vendor":"oracle"},{"product":"retail_extract_transform_and_load","vendor":"oracle"},{"product":"retail_financial_integration","vendor":"oracle"},{"product":"retail_integration_bus","vendor":"oracle"},{"product":"retail_item_planning","vendor":"oracle"},{"product":"retail_macro_space_optimization","vendor":"oracle"},{"product":"retail_merchandise_financial_planning","vendor":"oracle"},{"product":"retail_merchandising_system","vendor":"oracle"},{"product":"retail_point-of-service","vendor":"oracle"},{"product":"retail_predictive_application_server","vendor":"oracle"},{"product":"retail_regular_price_optimization","vendor":"oracle"},{"product":"retail_replenishment_optimization","vendor":"oracle"},{"product":"retail_returns_management","vendor":"oracle"},{"product":"retail_service_backbone","vendor":"oracle"},{"product":"retail_size_profile_optimization","vendor":"oracle"},{"product":"retail_store_inventory_management","vendor":"oracle"},{"product":"retail_xstore_point_of_service","vendor":"oracle"},{"product":"timesten_in-memory_database","vendor":"oracle"},{"product":"utilities_framework","vendor":"oracle"}],"cvss":{"score":6.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"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.","ecosystems":["Maven","SUSE:Linux Enterprise Module for Development Tools 15 SP2","openSUSE:Leap 15.2","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Sensitive Data Exposure in Apache Ant","id":"CVE-2020-1945","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","fedoraproject:fedora","opensuse:leap","oracle:banking_platform","oracle:communications_diameter_signaling_router","oracle:enterprise_manager_ops_center","oracle:financial_services_analytical_applications_infrastructure","oracle:flexcube_private_banking","oracle:primavera_gateway","oracle:primavera_unifier","oracle:retail_merchandising_system","oracle:retail_xstore_point_of_service"],"type":"information_disclosure","year":"2020"},"n_packages":12,"n_references":52,"next":{"headline":"Apache SpamAssassin has an OS Command Injection vulnerability","id":"CVE-2020-1946"},"packages":[{"ecosystem":"Maven","fixed":["1.9.15"],"introduced":["1.1"],"last_affected":[],"package":"org.apache.ant:ant","purl":null,"source":"GHSA-4p6w-m9wc-c9c9"},{"ecosystem":"Maven","fixed":["1.9.15"],"introduced":["1.1"],"last_affected":[],"package":"org.apache.ant:ant","purl":"pkg:maven/org.apache.ant/ant","source":"GHSA-4p6w-m9wc-c9c9"},{"ecosystem":"Maven","fixed":["1.10.8"],"introduced":["1.10.0"],"last_affected":[],"package":"org.apache.ant:ant","purl":null,"source":"GHSA-4p6w-m9wc-c9c9"},{"ecosystem":"Maven","fixed":["1.10.8"],"introduced":["1.10.0"],"last_affected":[],"package":"org.apache.ant:ant","purl":"pkg:maven/org.apache.ant/ant","source":"GHSA-4p6w-m9wc-c9c9"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["1.10.7-4.3.1"],"introduced":["0"],"last_affected":[],"package":"ant","purl":"pkg:rpm/suse/ant\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2020:1944-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["1.10.7-4.3.1"],"introduced":["0"],"last_affected":[],"package":"ant-antlr","purl":"pkg:rpm/suse/ant-antlr\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2020:1944-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["1.10.7-4.3.1"],"introduced":["0"],"last_affected":[],"package":"ant-junit","purl":"pkg:rpm/suse/ant-junit\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2020:1944-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.10.7-lp152.2.3.1"],"introduced":["0"],"last_affected":[],"package":"ant","purl":"pkg:rpm/opensuse/ant\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2020:1022-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.10.7-lp152.2.3.1"],"introduced":["0"],"last_affected":[],"package":"ant-antlr","purl":"pkg:rpm/opensuse/ant-antlr\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2020:1022-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.10.7-lp152.2.3.1"],"introduced":["0"],"last_affected":[],"package":"ant-junit","purl":"pkg:rpm/opensuse/ant-junit\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2020:1022-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.10.7-lp152.2.3.1"],"introduced":["0"],"last_affected":[],"package":"ant-junit5","purl":"pkg:rpm/opensuse/ant-junit5\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2020:1022-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.13.2-1.1"],"introduced":["0"],"last_affected":[],"package":"junit","purl":"pkg:rpm/opensuse/junit\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11676-1"}],"prev":{"headline":"Other in Apache Traffic Server","id":"CVE-2020-1944"},"products":["Apache Ant"],"published":"2020-05-14","related":[{"cvss_score":7.5,"headline":"Code injection in Apache Ant","id":"CVE-2020-11979","kev_date_added":null,"published":"2020-10-01"},{"cvss_score":7.4,"headline":"Apache Ant: Path traversal in ftp and scp tasks allows arbitrary file write","id":"CVE-2026-78254","kev_date_added":null,"published":"2026-09-07"},{"cvss_score":5.5,"headline":"Apache Ant TAR archive denial of service vulnerability","id":"CVE-2021-36373","kev_date_added":null,"published":"2021-07-14"},{"cvss_score":5.5,"headline":"Apache Ant ZIP, and ZIP based, archive denial of service vulerability","id":"CVE-2021-36374","kev_date_added":null,"published":"2021-07-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Apache Ant leaks sensitive data via shared temp directories and allows source file injection, impacting build integrity and confidentiality.","url":"https://insights.sbomify.com/CVE-2020-1945/"}