{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.ant:ant. It affects 32 products.","exploited":"There is no known exploitation of CVE-2021-36373 in the wild and no public exploit code.","fix":"Upgrade org.apache.ant:ant to a fixed version for your release line: 1.9.16 or 1.10.11.","what":"CVE-2021-36373 is a medium-severity denial of service vulnerability in Oracle Agile Product Lifecycle Management, published on 14 Jul 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-36373 and fix it if it is affected.\n\nWhat it is: CVE-2021-36373 is a medium-severity denial of service vulnerability in Oracle Agile Product Lifecycle Management, published on 14 Jul 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-36373 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.ant:ant (Maven): affected all versions; fixed in 1.9.16\n- org.apache.ant:ant (Maven): affected all versions; fixed in 1.9.16\n- org.apache.ant:ant (Maven): affected from 1.10.0; fixed in 1.10.11\n- org.apache.ant:ant (Maven): affected from 1.10.0; fixed in 1.10.11\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-2021-36373/ (Markdown: https://insights.sbomify.com/CVE-2021-36373/index.md)","id":"CVE-2021-36373","markdown":"https://insights.sbomify.com/CVE-2021-36373/index.md","name":"CVE-2021-36373","record":{"aliases":["AZL-25953","AZL-34808","CLEANSTART-2025-YD79563","DEBIAN-CVE-2021-36373","GHSA-q5r4-cfpx-h6fh","MINI-3pg8-r5jw-c42f","MINI-c4rw-r67c-fg2c","MINI-w9jv-c4rq-wc5r","UBUNTU-CVE-2021-36373"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache Ant build tool","requires_auth":"none","summary":"Attackers can cause denial of service in Apache Ant builds by providing specially crafted TAR archives that trigger excessive memory allocation.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"ant","vendor":"apache"},{"product":"agile_product_lifecycle_management","vendor":"oracle"},{"product":"banking_trade_finance","vendor":"oracle"},{"product":"banking_treasury_management","vendor":"oracle"},{"product":"communications_cloud_native_core_automated_test_suite","vendor":"oracle"},{"product":"communications_cloud_native_core_binding_support_function","vendor":"oracle"},{"product":"communications_order_and_service_management","vendor":"oracle"},{"product":"communications_unified_inventory_management","vendor":"oracle"},{"product":"enterprise_repository","vendor":"oracle"},{"product":"financial_services_analytical_applications_infrastructure","vendor":"oracle"},{"product":"insurance_policy_administration","vendor":"oracle"},{"product":"primavera_gateway","vendor":"oracle"},{"product":"primavera_unifier","vendor":"oracle"},{"product":"real-time_decision_server","vendor":"oracle"},{"product":"retail_advanced_inventory_planning","vendor":"oracle"},{"product":"retail_back_office","vendor":"oracle"},{"product":"retail_bulk_data_integration","vendor":"oracle"},{"product":"retail_central_office","vendor":"oracle"},{"product":"retail_eftlink","vendor":"oracle"},{"product":"retail_extract_transform_and_load","vendor":"oracle"},{"product":"retail_financial_integration","vendor":"oracle"},{"product":"retail_integration_bus","vendor":"oracle"},{"product":"retail_invoice_matching","vendor":"oracle"},{"product":"retail_merchandising_system","vendor":"oracle"},{"product":"retail_point-of-service","vendor":"oracle"},{"product":"retail_predictive_application_server","vendor":"oracle"},{"product":"retail_service_backbone","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"},{"product":"utilities_testing_accelerator","vendor":"oracle"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-130","name":"Improper Handling of Length Parameter Inconsistency"}],"description":"When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.","ecosystems":["Maven"],"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":"Apache Ant TAR archive denial of service vulnerability","id":"CVE-2021-36373","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:agile_product_lifecycle_management","products":["oracle:agile_product_lifecycle_management","oracle:communications_cloud_native_core_automated_test_suite","oracle:communications_cloud_native_core_binding_support_function","oracle:communications_unified_inventory_management","oracle:financial_services_analytical_applications_infrastructure","oracle:primavera_gateway","oracle:primavera_unifier","oracle:retail_merchandising_system","oracle:retail_xstore_point_of_service"],"type":"denial_of_service","year":"2021"},"n_packages":4,"n_references":11,"next":{"headline":"Apache Ant ZIP, and ZIP based, archive denial of service vulerability","id":"CVE-2021-36374"},"packages":[{"ecosystem":"Maven","fixed":["1.9.16"],"introduced":["0"],"last_affected":[],"package":"org.apache.ant:ant","purl":null,"source":"GHSA-q5r4-cfpx-h6fh"},{"ecosystem":"Maven","fixed":["1.9.16"],"introduced":["0"],"last_affected":[],"package":"org.apache.ant:ant","purl":"pkg:maven/org.apache.ant/ant","source":"GHSA-q5r4-cfpx-h6fh"},{"ecosystem":"Maven","fixed":["1.10.11"],"introduced":["1.10.0"],"last_affected":[],"package":"org.apache.ant:ant","purl":null,"source":"GHSA-q5r4-cfpx-h6fh"},{"ecosystem":"Maven","fixed":["1.10.11"],"introduced":["1.10.0"],"last_affected":[],"package":"org.apache.ant:ant","purl":"pkg:maven/org.apache.ant/ant","source":"GHSA-q5r4-cfpx-h6fh"}],"prev":{"headline":"Original block tokens are persisted and can be retrieved","id":"CVE-2021-36372"},"products":["Apache Ant"],"published":"2021-07-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":6.3,"headline":"Sensitive Data Exposure in Apache Ant","id":"CVE-2020-1945","kev_date_added":null,"published":"2020-05-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":"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":["Apache Software Foundation"]},"summary":"Attackers can cause denial of service in Apache Ant builds by providing specially crafted TAR archives that trigger excessive memory allocation.","url":"https://insights.sbomify.com/CVE-2021-36373/"}