CVE-2021-36374: Apache Ant ZIP, and ZIP based, archive denial of service vulerability
Vulnerability summary
CVE-2021-36374 is a medium (CVSS 5.5) vulnerability in apache software foundation apache ant. EPSS estimates a 2.64% chance of exploitation in the next 30 days, higher than 86% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 14-07-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.64%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.64% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard97 products
- eco-java-gradle-1.11All versions (No fix recorded)
- eco-java-gradle-2.0All versions (No fix recorded)
- eco-java-gradle-2.1All versions (No fix recorded)
- eco-java-gradle-2.10All versions (No fix recorded)
- eco-java-gradle-2.11All versions (No fix recorded)
Oracle35 products
- agile_engineering_data_management6.2.1.0
- agile_product_lifecycle_management9.3.6
- banking_trade_finance14.5
- banking_treasury_management14.5
- communications_cloud_native_core_automated_test_suite1.9.0
Alpine1 product
- apache-ant< 1.10.11-r0
Apache1 product
- ant≥ 1.9.0, < 1.9.16 | ≥ 1.10.0, < 1.10.11
Apache software foundation1 product
- apache ant≥ 1.4, < Apache Ant* | ≥ Apache Ant 1.9.x, ≤ 1.9.15 | ≥ Apache Ant 1.10.x, ≤ 1.10.10
Debian1 product
- ant< 1.10.11-1
Org.apache.ant1 product
- ant≥ 1.9.0, < 1.9.16 | ≥ 1.10.0, < 1.10.11
Ubuntu1 product
- antAll versions (No fix recorded)
8 vendors · 138 products