← back
CVE-2021-36373

Apache Ant TAR archive denial of service vulnerability

EPSS 2.5%CWE-130
In short

Apache Ant can crash when processing a specially crafted TAR file by consuming excessive memory, even if the file is small. This allows attackers to disrupt build processes.

Technical detail

A malicious TAR archive triggers unbounded memory allocation in Apache Ant's TAR reader, leading to out-of-memory conditions. The attack requires the victim to process a crafted TAR file during a build operation, resulting in denial of service through resource exhaustion.

Summary generated and translated by AI from the official description.
When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Apache Ant prior to 1.9.16 and 1.10.11 were affected.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →