CVE-2021-36374

Apache Ant ZIP, and ZIP based, archive denial of service vulerability

MEDIUM
5.5
CVSS Score
Published: July 14, 2021 at 06:20 AM UTC
Updated: August 25, 2026 at 04:28 PM UTC
36 products affected across 2 vendorsAgile Product Lifecycle ManagementRetail Xstore Point of ServicePrimavera Unifier

Using Apache Ant by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache Ant - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
1.10.0 ≤ v < 1.10.111.4 ≤ v < Apache Ant*1.9.0 ≤ v < 1.9.16Apache Ant 1.10.x ≤ v ≤ 1.10.10Apache Ant 1.9.x ≤ v ≤ 1.9.151.10.x1.41.9.x
Affected range stops below 1.10.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.9.16, so it looks safe — our inference, not a vendor statement
Affected range stops below Apache Ant*, so it looks safe — our inference, not a vendor statement
8.0.0 ≤ v ≤ 8.1.08.2.0 ≤ v ≤ 8.2.3

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-130NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card