CVE-2021-36374 Affecting apache-ant package, versions <1.10.11-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.09% (42nd 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-ALPINE321-APACHEANT-8482523
  • published6 Dec 2024
  • disclosed14 Jul 2021

Introduced: 14 Jul 2021

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

How to fix?

Upgrade Alpine:3.21 apache-ant to version 1.10.11-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apache-ant package and not the apache-ant package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1