Uncontrolled Recursion Affecting log4j package, versions <0:2.17.0-1.amzn2022.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
65.45% (99th 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-AMZN2022-LOG4J-2994814
  • published29 Aug 2022
  • disclosed18 Dec 2021

Introduced: 18 Dec 2021

CVE-2021-45105  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2022 log4j to version 0:2.17.0-1.amzn2022.0.1 or higher.
This issue was patched in ALAS2022-2021-008.

NVD Description

Note: Versions mentioned in the description apply only to the upstream log4j package and not the log4j package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2022 relevant fixed versions and status.

Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.

CVSS Base Scores

version 3.1