Moderate severityNVD Advisory· Published Jul 14, 2021· Updated Aug 4, 2024
Apache Ant ZIP, and ZIP based, archive denial of service vulerability
CVE-2021-36374
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.ant:antMaven | >= 1.9.0, < 1.9.16 | 1.9.16 |
org.apache.ant:antMaven | >= 1.10.0, < 1.10.11 | 1.10.11 |
Affected products
21- ghsa-coords20 versionspkg:maven/org.apache.ant/antpkg:rpm/opensuse/ant-antlr&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/ant-antlr&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/ant&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/ant&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/ant&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ant-junit5&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/ant-junit5&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/ant-junit&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/ant-junit&distro=openSUSE%20Leap%2015.4pkg:rpm/suse/ant-antlr&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3pkg:rpm/suse/ant-antlr&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2pkg:rpm/suse/ant-antlr&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/ant&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3pkg:rpm/suse/ant&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2pkg:rpm/suse/ant&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/ant&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/ant&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/ant-junit&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3pkg:rpm/suse/ant-junit&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2
>= 1.9.0, < 1.9.16+ 19 more
- (no CPE)range: >= 1.9.0, < 1.9.16
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.12-1.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.9.4-3.9.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.9.4-3.9.1
- (no CPE)range: < 1.9.4-3.9.1
- (no CPE)range: < 1.9.4-3.9.1
- (no CPE)range: < 1.10.7-150200.4.6.1
- (no CPE)range: < 1.10.7-150200.4.6.1
Patches
Vulnerability mechanics
References
18- github.com/advisories/GHSA-5v34-g2px-j4fwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-36374ghsaADVISORY
- ant.apache.org/security.htmlghsax_refsource_MISCWEB
- lists.apache.org/thread.html/r27919fd4db07c487239c1d9771f480d89ce5ee2750aa9447309b709a%40%3Ccommits.groovy.apache.org%3Emitremailing-listx_refsource_MLIST
- lists.apache.org/thread.html/r27919fd4db07c487239c1d9771f480d89ce5ee2750aa9447309b709a@%3Ccommits.groovy.apache.org%3EghsaWEB
- lists.apache.org/thread.html/r544c9e8487431768465b8b2d13982c75123109bd816acf839d46010d%40%3Ccommits.groovy.apache.org%3Emitremailing-listx_refsource_MLIST
- lists.apache.org/thread.html/r544c9e8487431768465b8b2d13982c75123109bd816acf839d46010d@%3Ccommits.groovy.apache.org%3EghsaWEB
- lists.apache.org/thread.html/rad36f470647c5a7c02dd78c9973356d2840766d132b597b6444e373a%40%3Cnotifications.groovy.apache.org%3Emitremailing-listx_refsource_MLIST
- lists.apache.org/thread.html/rad36f470647c5a7c02dd78c9973356d2840766d132b597b6444e373a@%3Cnotifications.groovy.apache.org%3EghsaWEB
- lists.apache.org/thread.html/rdd5412a5b9a25aed2a02c3317052d38a97128314d50bc1ed36e81d38%40%3Cuser.ant.apache.org%3Eghsax_refsource_MISCWEB
- lists.apache.org/thread.html/rf4bb79751a02889623195715925e4fd8932dd3c97e0ade91395a96c6%40%3Cdev.myfaces.apache.org%3Emitremailing-listx_refsource_MLIST
- lists.apache.org/thread.html/rf4bb79751a02889623195715925e4fd8932dd3c97e0ade91395a96c6@%3Cdev.myfaces.apache.org%3EghsaWEB
- security.netapp.com/advisory/ntap-20210819-0007ghsaWEB
- security.netapp.com/advisory/ntap-20210819-0007/mitrex_refsource_CONFIRM
- www.oracle.com/security-alerts/cpuapr2022.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpujan2022.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpujul2022.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpuoct2021.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.