CVE-2021-36374: Apache Ant ZIP, and ZIP based, archive denial of service vulerability
Apache Ant is vulnerable to a denial of service, caused by an out-of-memory error when large amounts of memory are allocated. By persuading a victim to open a specially-crafted ZIP archive, a remote attacker could exploit this vulnerability to cause the application to crash.
Other sources
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.apache.ant:antto a version that resolves this vulnerability.Fixed in 1.9.16 - Upgrade
Upgrade
maven/org.apache.ant:antto a version that resolves this vulnerability.Fixed in 1.10.11
Event History
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2021-36374.
What is the severity of CVE-2021-36374?
The severity of CVE-2021-36374 is medium.
How does CVE-2021-36374 affect Apache Ant?
CVE-2021-36374 affects Apache Ant by causing a denial of service through an out-of-memory error when large amounts of memory are allocated.
How can a remote attacker exploit CVE-2021-36374?
A remote attacker can exploit CVE-2021-36374 by persuading a victim to open a specially-crafted ZIP archive, which can cause the application to crash.
Is there a reference for CVE-2021-36374?
Yes, you can find more information about CVE-2021-36374 at the following reference: https://exchange.xforce.ibmcloud.com/vulnerabilities/205314