Denial of Service (DoS) Affecting org.apache.ant:ant package, versions [,1.9.16)[1.10.0,1.10.11)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEANT-5597835
  • published14 Jul 2021
  • disclosed14 Jul 2021
  • creditUnknown

Introduced: 14 Jul 2021

CVE-2021-36374  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade org.apache.ant:ant to version 1.9.16, 1.10.11 or higher.

Overview

org.apache.ant:ant is a software tool for automating software build processes which originated from the Apache Tomcat project in early 2000.

Affected versions of this package are vulnerable to Denial of Service (DoS). When reading a specially crafted ZIP archive, or a derived format, 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 of ZIP archives include JAR files.

CVSS Scores

version 3.1