CVEvulnerability

CVE-2021-45046

9.0 CRITICAL Known exploited Published 2021-12-14 Modified 2026-06-17 Official page ↗

CISA Known Exploited Vulnerability

Apache Log4j2 Deserialization of Untrusted Data Vulnerability — Apache Log4j2

Apache Log4j2 contains a deserialization of untrusted data vulnerability due to the incomplete fix of CVE-2021-44228, where the Thread Context Lookup Pattern is vulnerable to remote code execution in certain non-default configurations.

Added to KEV
2023-05-01
Remediation due
2023-05-22
Ransomware use
Known
Required action
Apply updates per vendor instructions.
Notes
https://logging.apache.org/log4j/2.x/security.html; https://nvd.nist.gov/vuln/detail/CVE-2021-45046
Status
Analyzed
Published
2021-12-14
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.0 CRITICAL — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
9.0 CRITICAL — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS 2.0 ([email protected])
5.1 MEDIUM — AV:N/AC:H/Au:N/C:P/I:P/A:P
Weaknesses
CWE-917

Description

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 an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.

Affected configurations

• apache log4j (>= 2.0.1 < 2.12.2) • apache log4j (>= 2.13.0 < 2.16.0) • apache log4j 2.0 • cvat computer vision annotation tool • intel audio development kit • intel datacenter manager • intel genomics kernel library • intel oneapi • intel secure device onboard • intel sensor solution firmware development kit • intel system debugger • intel system studio • siemens sppa-t3000 ses3000 firmware • siemens captial (< 2019.1) • siemens captial 2019.1 • siemens comos • siemens desigo cc advanced reports 4.0 • siemens desigo cc advanced reports 4.1 • siemens desigo cc advanced reports 4.2 • siemens desigo cc advanced reports 5.0 • siemens desigo cc advanced reports 5.1 • siemens desigo cc info center 5.0 • siemens desigo cc info center 5.1 • siemens e-car operation center (< 2021-12-13) • siemens energy engage 3.1 • siemens energyip 8.5 • siemens energyip 8.6 • siemens energyip 8.7 • siemens energyip 9.0 • siemens energyip prepay 3.7 • siemens energyip prepay 3.8 • siemens gma-manager (< 8.6.2j-398) • siemens head-end system universal device integration system • siemens industrial edge management • siemens industrial edge management hub (< 2021-12-13) • siemens logo\! soft comfort • siemens mendix • siemens mindsphere (< 2021-12-11) • siemens navigator (< 2021-12-13) • siemens nx • siemens opcenter intelligence (<= 3.2) • siemens operation scheduler (<= 1.1.3) • siemens sentron powermanager 4.1 • siemens sentron powermanager 4.2 • siemens siguard dsa 4.2 • siemens siguard dsa 4.3 • siemens siguard dsa 4.4 • siemens sipass integrated 2.80 • siemens sipass integrated 2.85 • siemens siveillance command (<= 4.16.2.1) • siemens siveillance control pro • siemens siveillance identity 1.5 • siemens siveillance identity 1.6 • siemens siveillance vantage • siemens siveillance viewpoint • siemens solid edge cam pro • siemens solid edge harness design (< 2020) • siemens solid edge harness design 2020 • siemens spectrum power 4 (< 4.70) • siemens spectrum power 4 4.70 … and 18 more

Related

Weakness · CWE (1)

  • CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement weakness

References