VDB

CVE-2021-36374

CVE-2021-36374 PUBLISHED CVSS 5.5 MEDIUM

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

Reported by apache · Published July 14, 2021

ant is fixed in 1.10.11 and 1.9.16 (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.ant:antMaven Central1.10.11, 1.9.16
ant-jdependAmazon Linux1.9.16-1.amzn2.0.1
ant-commons-loggingAmazon Linux1.9.16-1.amzn2.0.1
ant-apache-log4jAmazon Linux1.9.16-1.amzn2.0.1
ant-swingAmazon Linux1.9.16-1.amzn2.0.1
antAmazon Linux1.9.16-1.amzn2.0.1
ant-commons-netAmazon Linux1.9.16-1.amzn2.0.1
ant-jmfAmazon Linux1.9.16-1.amzn2.0.1
ant-apache-oroAmazon Linux1.9.16-1.amzn2.0.1
ant-junitAmazon Linux1.9.16-1.amzn2.0.1
ant-apache-resolverAmazon Linux1.9.16-1.amzn2.0.1
ant-apache-bsfAmazon Linux1.9.16-1.amzn2.0.1

21 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Apache Software FoundationApache Ant1.4, Apache Ant 1.9.x, Apache Ant 1.10.x
amazon:2ant-jdepend0
amazon:2ant-commons-logging0
amazon:2ant-apache-log4j0
amazon:2ant-swing0
amazon:2ant0
Apache Software FoundationApache Ant1.10.x, 1.4, 1.9.x
Mavenorg.apache.ant:ant1.10.0, 1.9.0
amazon:2ant-commons-net0
amazon:2ant-jmf0
amazon:2ant-apache-oro0
amazon:2ant-junit0
amazon:2ant-apache-resolver0
amazon:2ant-apache-bsf0
alpineapache-ant0
amazon:2ant-jsch0
archant0
amazon:2ant-apache-xalan20
amazon:2ant-javamail0
amazon:2ant-apache-regexp0

…and 5 more

Timeline

  • Jul 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jul 14, 2021 CVE Published
  • Mar 17, 2026 Security Advisory (7 in total, the first dated here)
  • Mar 20, 2026 Distribution Patch (3 in total, the first dated here)
  • Jul 27, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-36374
vulnetix vdb fixes CVE-2021-36374

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-36374/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›