QID 354514

Date Published: 2022-12-21

QID 354514: Amazon Linux Security Advisory for log4j : ALAS2022-2021-004

It was found that the fix to address( CVE-2021-44228 in apache log4j 2.15.0 was incomplete in certain non-default configurations.
This could allows attackers with control over thread context map (mdc) input data when the logging configuration uses a non-default pattern layout with either a context lookup (for example, $${ctx:loginid}) or a thread context map pattern (%x, %mdc, or %mdc) to craft malicious input data using a jndi lookup pattern resulting in a denial of service (dos) attack.
Log4j 2.15.0 makes a best-effort attempt to restrict jndi ldap lookups to localhost by default.
Log4j 2.16.0 fixes this issue by removing support for message lookup patterns and disabling jndi functionality by default. (
( CVE-2021-45046)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9 severity.
  • CVSS V2 rated as Medium - 5.1 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2022-2021-004 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354514

    Software Advisories
    Advisory ID Software Component Link
    ALAS2022-2021-004 amazon linux 2022 URL Logo alas.aws.amazon.com/AL2022/ALAS-2021-004.html