CVE-2021-45046: Apache Log4j2 Deserialization of Untrusted Data Vulnerability

Critical severity, CVSS 9.0. Actively exploited: in CISA KEV since 2023-05-01. EPSS: >99% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2023-05-22): Apply updates per vendor instructions.

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Apache LOG4J, from 2.0.1, before 2.12.2: fixed in 2.12.2
  • Apache LOG4J, from 2.13.0, before 2.16.0: fixed in 2.16.0
  • Siemens 6bk1602-0aa12-0tp0 Firmware, before 2.7.0: fixed in 2.7.0
  • Siemens 6bk1602-0aa22-0tp0 Firmware, before 2.7.0: fixed in 2.7.0
  • Siemens 6bk1602-0aa32-0tp0 Firmware, before 2.7.0: fixed in 2.7.0
  • Siemens 6bk1602-0aa42-0tp0 Firmware, before 2.7.0: fixed in 2.7.0
  • Siemens 6bk1602-0aa52-0tp0 Firmware, before 2.7.0: fixed in 2.7.0
  • Siemens Captial, before 2019.1: fixed in 2019.1
  • Siemens E-Car Operation Center, before 2021-12-13: fixed in 2021-12-13
  • Siemens Gma-Manager, before 8.6.2j-398: fixed in 8.6.2j-398
  • and 8 more

Affected products

Affected packages

Published 2021-12-14. Last modified 2026-06-17.