Allocation of Resources Without Limits or Throttling Affecting ant-apache-log4j package, versions <0:1.9.16-1.amzn2.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-ANTAPACHELOG4J-3160042
  • published7 Dec 2022
  • disclosed14 Jul 2021

Introduced: 14 Jul 2021

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

How to fix?

Upgrade Amazon-Linux:2 ant-apache-log4j to version 0:1.9.16-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1880.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ant-apache-log4j package and not the ant-apache-log4j package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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.

References

CVSS Scores

version 3.1