CVE-2021-36374: When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocat
46
This month
MEDIUM 5.5WATCHLISTUPGRADEDOWNGRADEDOWNGRADE
CVE-2021-36374 is a medium-severity flaw (CVSS 5.5) affecting ant, agile engineering data management, agile product lifecycle management. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-36374?
ant: upgrade to 1.9.16, 1.10.11; agile engineering data management: downgrade or apply the listed mitigation; agile product lifecycle management: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-36374 being exploited?
CVE-2021-36374 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-36374 affect?
CVE-2021-36374 affects ant, agile engineering data management, agile product lifecycle management. Severity is medium (CVSS 5.5). 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 Ap
How urgent is CVE-2021-36374?
Priority 46/100. On your watchlist
Related CVEs
CVE-2020-11979HIGH 7.5DOWNGRADEUPGRADE As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so tha
CVE-2021-36373MEDIUM 5.5UPGRADEDOWNGRADE When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memo
CVE-2020-1945MEDIUM 6.3UPGRADEMITIGATE Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java syst