CVE-2021-36373
Apache Ant TAR archive denial of service vulnerability
Reported by apache · Published July 14, 2021
ant is fixed in 1.10.11 and 1.9.16 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.ant:ant | Maven Central | 1.10.11, 1.9.16 |
| apache-ant | Alpine | 1.10.11-r0 |
| ant | Arch Linux | 1.10.11-1 |
| timesten_in-memory_database | oracle | 11.2.2.8.27 |
| ant | apache | 1.10.11, 1.9.16 |
| financial_services_analytical_applications_infrastructure | oracle | 8.1.1 |
| primavera_gateway | oracle | 20.12.7, 19.12.11, 18.8.12, 17.12.11 |
| utilities_framework | oracle | 4.3.0.6.0 |
| Apache Ant | Apache Software Foundation | 1.10.10, 1.9.15, 1.9.0 |
| primavera_unifier | oracle | 17.12 |
| insurance_policy_administration | oracle | 11.3.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Ant | Apache Ant 1.9.x, Apache Ant 1.10.x, Apache Ant |
| alpine | apache-ant | 0 |
| arch | ant | 0 |
| Maven | org.apache.ant:ant | 1.10.0, 1.9.0 |
| Apache Software Foundation | Apache Ant | 1.9.x, 1.10.x, * |
Timeline
- Jul 14, 2021 EPSS Score (30 in total, the first dated here)
- Jul 14, 2021 CVE Published
- Mar 17, 2026 Security Advisory (4 in total, the first dated here)
- Apr 26, 2026 Distribution Patch
- Jul 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-36373
vulnetix vdb fixes CVE-2021-36373
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-36373/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- [groovy-commits] 20210714 [groovy] 08/09: GROOVY-10169: Bump Ant version to 1.10.11 (incorporates CVE-2021-36373 and CVE-2021-36374) mailing-listx_refsource_MLIST
- [groovy-commits] 20210715 [groovy] 02/07: GROOVY-10169: Bump Ant version to 1.10.11 (incorporates CVE-2021-36373 and CVE-2021-36374) mailing-listx_refsource_MLIST
- [groovy-notifications] 20210715 [jira] [Resolved] (GROOVY-10169) Bump Ant version to 1.10.11 (incorporates CVE-2021-36373 and CVE-2021-36374) mailing-listx_refsource_MLIST
- [myfaces-dev] 20210830 [GitHub] [myfaces-tobago] lofwyr14 opened a new pull request #1215: build: CVE fix mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2021-36373 advisory