GitHub Advisoryadvisory · Maven

GHSA-5v34-g2px-j4fw Improper Handling of Length Parameter Inconsistency in Apache Ant

MEDIUM Published 2021-08-02 Modified 2024-03-01 Official page ↗
Aliases
CVE-2021-36374
Ecosystem
Maven
Packages
org.apache.ant:ant
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-130
Reviewed
2021-07-15

Affected packages

• Maven org.apache.ant:ant: >= 1.9.0, < 1.9.16 → fixed in 1.9.16 • Maven org.apache.ant:ant: >= 1.10.0, < 1.10.11 → fixed in 1.10.11

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.

Related

Alias · CVE (1)

  • CVE-2021-36374 When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory… vulnerability

Weakness · CWE (1)

  • CWE-130 Improper Handling of Length Parameter Inconsistency weakness

References