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
1.66% (88th 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-3163898
  • published8 Dec 2022
  • disclosed28 Dec 2021

Introduced: 28 Dec 2021

CVE-2021-44832  (opens in a new tab)
CWE-20  (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-beta7 through 2.17.0 (excluding security fix releases 2.3.2 and 2.12.4) are vulnerable to a remote code execution (RCE) attack when a configuration uses a JDBC Appender with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI data source names to the java protocol in Log4j2 versions 2.17.1, 2.12.4, and 2.3.2.

CVSS Scores

version 3.1