{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.ant:ant. It affects 36 products.","exploited":"There is no known exploitation of CVE-2021-36374 in the wild and no public exploit code.","fix":"Upgrade org.apache.ant:ant to a fixed version for your release line: 1.10.11 or 1.9.16.","what":"CVE-2021-36374 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-36374 and fix it if it is affected.\n\nWhat it is: CVE-2021-36374 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-36374 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\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- org.apache.ant:ant (Maven): affected from 1.9.0; fixed in 1.9.16\n- org.apache.ant:ant (Maven): affected from 1.9.0; fixed in 1.9.16\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-36374/ (Markdown: https://insights.sbomify.com/CVE-2021-36374/index.md)","id":"CVE-2021-36374","markdown":"https://insights.sbomify.com/CVE-2021-36374/index.md","name":"CVE-2021-36374","record":{"aliases":["AZL-25954","AZL-34809","CLEANSTART-2025-KO30612","DEBIAN-CVE-2021-36374","GHSA-5v34-g2px-j4fw","MINI-83w9-2jrf-v2cg","MINI-mrcx-ghm3-2g4p","MINI-mv25-mcg4-6cwg","UBUNTU-CVE-2021-36374"],"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 Apache Ant builds to crash via memory exhaustion by providing specially crafted ZIP or JAR files.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"ant","vendor":"apache"},{"product":"agile_engineering_data_management","vendor":"oracle"},{"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_diameter_intelligence_hub","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":"health_sciences_information_manager","vendor":"oracle"},{"product":"insurance_policy_administration","vendor":"oracle"},{"product":"primavera_gateway","vendor":"oracle"},{"product":"primavera_unifier","vendor":"oracle"},{"product":"product_lifecycle_analytics","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 ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory that leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Commonly used derived formats from ZIP archives are for instance JAR files and many office files. 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 ZIP, and ZIP based, archive denial of service vulerability","id":"CVE-2021-36374","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":"Relative Path Traversal in git-delta","id":"CVE-2021-36376"},"packages":[{"ecosystem":"Maven","fixed":["1.10.11"],"introduced":["1.10.0"],"last_affected":[],"package":"org.apache.ant:ant","purl":null,"source":"GHSA-5v34-g2px-j4fw"},{"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-5v34-g2px-j4fw"},{"ecosystem":"Maven","fixed":["1.9.16"],"introduced":["1.9.0"],"last_affected":[],"package":"org.apache.ant:ant","purl":null,"source":"GHSA-5v34-g2px-j4fw"},{"ecosystem":"Maven","fixed":["1.9.16"],"introduced":["1.9.0"],"last_affected":[],"package":"org.apache.ant:ant","purl":"pkg:maven/org.apache.ant/ant","source":"GHSA-5v34-g2px-j4fw"}],"prev":{"headline":"Apache Ant TAR archive denial of service vulnerability","id":"CVE-2021-36373"},"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 TAR archive denial of service vulnerability","id":"CVE-2021-36373","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 Apache Ant builds to crash via memory exhaustion by providing specially crafted ZIP or JAR files.","url":"https://insights.sbomify.com/CVE-2021-36374/"}