PT-2021-5369 · Apache+6 · Apache Log4J2+7

Published

2021-12-14

·

Updated

2026-06-09

·

CVE-2021-45046

CVSS v3.1

9.0

Critical

VectorAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Apache Log4j2 versions 2.15.0 Apache Log4j2 versions prior to 2.16.0 (Java 8) Apache Log4j2 versions prior to 2.12.2 (Java 7)
Description The issue is related to the deserialization of untrusted data in the Apache Log4j2 library, which can be exploited by attackers to execute arbitrary code remotely or locally. This can occur when the logging configuration uses a non-default Pattern Layout with a Context Lookup or a Thread Context Map pattern, allowing malicious input data to be crafted using a JNDI Lookup pattern. It is estimated that there have been 1.8 million attempts to exploit this issue.
Recommendations For Apache Log4j2 version 2.15.0, update to version 2.16.0 (Java 8) or 2.12.2 (Java 7) to remove support for message lookup patterns and disable JNDI functionality by default. As a temporary workaround, consider disabling the use of Context Lookup and Thread Context Map patterns in the logging configuration until a patch is available. Restrict access to the logging functionality to minimize the risk of exploitation.

Exploit

Fix

RCE

DoS

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-06204
CVE-2021-45046
DSA-5022-1
GHSA-7RJR-3Q55-VV33
MGASA-2021-0566
OESA-2021-1467
OESA-2021-1474
OESA-2022-1957
OPENSUSE-SU-2021:1601-1
OPENSUSE-SU-2021:4094-1
OPENSUSE-SU-2021:4107-1
OPENSUSE-SU-2021_1601-1
OPENSUSE-SU-2021_4107-1
OPENSUSE-SU-2024:11681-1
RHSA-2022:1296
RHSA-2022:1297
RHSA-2025:1746
RHSA-2025:1747
USN-5197-1

Affected Products

Apache Log4J2
Apache Struts
Huawei Vrp
Linuxmint
Red Os
Suse
Symantec Endpoint Protection Server
Ubuntu