CVE-2021-36373
publishedApache Ant TAR archive denial of service vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache AntApache Ant 1.9.x through 1.9.15 (affected · custom); changes: affected at 1.9.0 · Apache Ant 1.10.x through 1.10.10 (affected · custom); changes: affected at 1.10.0 · Apache Ant to < 1.9.0 (unaffected · custom) | Version-specific | Not stated | apache |
| Alpine Linux | edge | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | antnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| Alpine Linux | v3.14 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| Alpine Linux | v3.15 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| Alpine Linux | v3.16 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| Alpine Linux | v3.17 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| Alpine Linux | v3.18 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| Alpine Linux | v3.20 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| Alpine Linux | v3.21 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| Alpine Linux | v3.22 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| Alpine Linux | v3.23 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| Alpine Linux | v3.24 | apache-ant | Fixed | 1.10.11-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | ant-antlrnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-apache-bcelnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-apache-bsfnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-apache-log4jnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-apache-oronoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-apache-regexpnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-apache-resolvernoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-commons-loggingnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-javadocnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-javamailnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-jdependnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-jmfnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-junitnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-manualnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-scriptsnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | ant-swingnoarch | Advisory build | 1.9.4-3.9.1 | SUSE-SU-2022:1417-1 |
| SUSE / openSUSE | SLE-15-SP2 | antnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-antlrnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-apache-bcelnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-apache-bsfnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-apache-log4jnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-apache-oronoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-apache-regexpnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-apache-resolvernoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-commons-loggingnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-javamailnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-jdependnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-jmfnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-junitnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-manualnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-scriptsnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP2 | ant-swingnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | antnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-antlrnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-apache-bcelnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-apache-bsfnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-apache-log4jnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-apache-oronoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-apache-regexpnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-apache-resolvernoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-commons-loggingnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-javamailnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-jdependnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-jmfnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-junitnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-manualnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-scriptsnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | SLE-15-SP3 | ant-swingnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | antnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-antlrnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-apache-bcelnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-apache-bsfnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-apache-log4jnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-apache-oronoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-apache-regexpnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-apache-resolvernoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-apache-xalan2noarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-commons-loggingnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-commons-netnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-imageionoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-javamailnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-jdependnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-jmfnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-jschnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-junitnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-junit5noarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-manualnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-scriptsnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-swingnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-testutilnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ant-xznoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | antnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-antlrnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-apache-bcelnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-apache-bsfnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-apache-log4jnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-apache-oronoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-apache-regexpnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-apache-resolvernoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-apache-xalan2noarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-commons-loggingnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-commons-netnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-imageionoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-javamailnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-jdependnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-jmfnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ant-jschnoarch | Advisory build | 1.10.7-150200.4.6.1 | SUSE-SU-2022:1418-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Ant | Apache Ant 1.9.x through 1.9.15 (affected · custom); changes: affected at 1.9.0Apache Ant 1.10.x through 1.10.10 (affected · custom); changes: affected at 1.10.0Apache Ant to < 1.9.0 (unaffected · custom) | apache · cna |
Weaknesses
1- CWE-130 CWE-130 Improper Handling of Length Parameter Inconsistency
References
11- https://ant.apache.org/security.html
- [groovy-commits] 20210714 [groovy] 08/09: GROOVY-10169: Bump Ant version to 1.10.11 (incorporates CVE-2021-36373 and CVE-2021-36374) https://lists.apache.org/thread.html/r27919fd4db07c487239c1d9771f480d89ce5ee2750aa9447309b709a%40%3Ccommits.groovy.apache.org%3E
- [groovy-commits] 20210715 [groovy] 02/07: GROOVY-10169: Bump Ant version to 1.10.11 (incorporates CVE-2021-36373 and CVE-2021-36374) https://lists.apache.org/thread.html/r544c9e8487431768465b8b2d13982c75123109bd816acf839d46010d%40%3Ccommits.groovy.apache.org%3E
- https://lists.apache.org/thread.html/r54afdab05e01de970649c2d91a993f68a6b00cd73e6e34e16c832d46%40%3Cuser.ant.apache.org%3E
- [groovy-notifications] 20210715 [jira] [Resolved] (GROOVY-10169) Bump Ant version to 1.10.11 (incorporates CVE-2021-36373 and CVE-2021-36374) https://lists.apache.org/thread.html/rad36f470647c5a7c02dd78c9973356d2840766d132b597b6444e373a%40%3Cnotifications.groovy.apache.org%3E
- [myfaces-dev] 20210830 [GitHub] [myfaces-tobago] lofwyr14 opened a new pull request #1215: build: CVE fix https://lists.apache.org/thread.html/rf4bb79751a02889623195715925e4fd8932dd3c97e0ade91395a96c6%40%3Cdev.myfaces.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210819-0007/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
Provider assertions
2apache · cna
Apache Ant TAR archive denial of service vulnerability
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 565c80fb95937e2f042410156ba44d2de2d3d7fe73a9ed43cb7ce295603aabf7
- Ingested
- 23 Sep 2026, 07:55:06 UTC
- Source record
- Official CVE record