Improper Handling of Length Parameter Inconsistency in Apache Ant
Moderate severity
GitHub Reviewed
Published
Aug 2, 2021
to the GitHub Advisory Database
•
Updated Mar 1, 2024
Package
Affected versions
>= 1.10.0, < 1.10.11
>= 1.9.0, < 1.9.16
Patched versions
1.10.11
1.9.16
Description
Published by the National Vulnerability Database
Jul 14, 2021
Reviewed
Jul 15, 2021
Published to the GitHub Advisory Database
Aug 2, 2021
Last updated
Mar 1, 2024
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.
References