CVE-2021-45046

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.

Severity
CRITICAL
CVSS v3
9.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.977%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2023-05-01 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 1
Nuclei templates: 1

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameApache Log4j2 Deserialization of Untrusted Data Vulnerability
Vendor / productApache / Log4j2
Date added2023-05-01
Federal remediation due date2023-05-22
Required actionApply updates per vendor instructions.
Known ransomware campaign useKnown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impacttotal
Scored2025-02-04

Timeline

  1. 2021-12-14Published by the CNA16:55 UTC
  2. 2021-12-14GitHub advisory published (GHSA-7rjr-3q55-vv33)same day
  3. 2023-05-01Added to the CISA KEV catalog503 days after publication
  4. 2025-02-04CISA SSVC decision recorded1148 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Nuclei templates:

GitHub advisory GHSA-7rjr-3q55-vv33, affected packages:

PackageVulnerable versionsFixed in
Maven org.apache.logging.log4j:log4j-corebefore 2.3.12.3.1
Maven org.apache.logging.log4j:log4j-corefrom 2.13.0 before 2.16.02.16.0
Maven org.apache.logging.log4j:log4j-corefrom 2.4.0 before 2.12.22.12.2
Maven org.ops4j.pax.logging:pax-logging-log4j2from 1.10.0 before 1.10.81.10.8
Maven org.ops4j.pax.logging:pax-logging-log4j2from 1.11.0 before 1.11.111.11.11

2 more affected packages in the advisory.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
apache log4jfrom 2.0.1 before 2.12.2fixed in 2.12.2from 2.13.0 before 2.16.0fixed in 2.16.02.0no fix listed2.12.22.16.0not listed
cvat computer_vision_annotation_tool
debian debian_linux10.0no fix listed11.0no fix listednot listednot listed
fedoraproject fedora34no fix listed35no fix listednot listednot listed
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 6bk1602-0aa12-0tp0_firmwarebefore 2.7.0fixed in 2.7.02.7.0
siemens 6bk1602-0aa22-0tp0_firmwarebefore 2.7.0fixed in 2.7.02.7.0
siemens 6bk1602-0aa32-0tp0_firmwarebefore 2.7.0fixed in 2.7.02.7.0
siemens 6bk1602-0aa42-0tp0_firmwarebefore 2.7.0fixed in 2.7.02.7.0
siemens 6bk1602-0aa52-0tp0_firmwarebefore 2.7.0fixed in 2.7.02.7.0
siemens captialbefore 2019.1fixed in 2019.12019.1no fix listed2019.1not listed
siemens comos
siemens desigo_cc_advanced_reports4.0no fix listed4.1no fix listed4.2no fix listed5.0no fix listed5.1no fix listednot listednot listednot listednot listednot listed

55 vulnerable vendor/product pairs in total; the first 20 are shown. The cve_products API lists them page by page, with versions.

Products and versions as NVD and the vendor that published the CVE list them.

References

22 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources