Improper Input Validation Affecting log4j package, versions <0:2.17.2-1.amzn2022.0.3


Severity

Recommended
critical

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
95.27% (100th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2022-LOG4J-3163886
  • published8 Dec 2022
  • disclosed18 Dec 2021

Introduced: 18 Dec 2021

CVE-2021-45105  (opens in a new tab)
CWE-20  (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.2-1.amzn2022.0.3 or higher.
This issue was patched in ALAS2022-2022-225.

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