Improper Input Validation Affecting log4j-jcl package, versions <0:2.15.0-1.amzn2022.0.1


Severity

Recommended
0.0
critical
0
10

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
97.23% (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-LOG4JJCL-2994551
  • published29 Aug 2022
  • disclosed10 Dec 2021

Introduced: 10 Dec 2021

CVE-2021-44228  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

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

NVD Description

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

Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.

References

CVSS Scores

version 3.1