CVE-2021-44228

published 10 Dec 2021 · updated 21 Oct 2025

Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints

10.0CriticalCVSS 10.0EPSS 100%CISA KEV · due 24 Dec 20218 public exploitsZero-day

Exploited in the wild as a zero-day, used by ransomware, in CISA KEV since 10 Dec 2021 (due 24 Dec 2021), with 8 public exploits. Fixed in log4j-core*.

Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.

Briefing

Written from the sources below · deepseek-v4.1-flash

Apache Log4j2 JNDI lookups in configuration, log messages, and parameters do not protect against attacker-controlled LDAP and other JNDI endpoints, allowing remote code execution when message lookup substitution is enabled. Affected are log4j-core 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, 2.3.1), including products such as Microsoft Azure services that bundle it.

Why it mattersIt is in CISA KEV, was exploited as a zero-day before a fix, has public exploit tooling, and EPSS is 100 percent, so any unpatched internet-facing log4j-core is high risk.

ActionUpgrade log4j-core to 2.16.0 or later (or 2.12.2, 2.12.3, 2.3.1); if patching is delayed, remove the JndiLookup class or set log4j2.formatMsgNoLookups=true.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ApacheLog4j2
Apache Software Foundation>=2.0-beta9 <log4j-core*log4j-core*
MicrosoftAzure
MicrosoftAzure ARC
MicrosoftAzure Databricks
MicrosoftAzure DevOps
MicrosoftCosmos DB Kafka Connector
MicrosoftDefender
MicrosoftEvents Hub Extension
MicrosoftMinecraft Java
MicrosoftSQL Server
MicrosoftTeam Foundation Server

Exploit evidence

8 public sources

kev

Coverage

News and research mentioning this CVE

Timeline

Every event on this vulnerability

Public exploitCVE-2021-44228·
Apache Log4j2 JNDI lookups in configuration, log messages, and parameters do not protect against attacker-controlled LDAP and other JNDI endpoints, allowing remote code execution when message lookup substitution is enabled. Affected are log4j-core 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, 2.3.1), including products such as Microsoft Azure services that bundle it.
10.0Critical7 sources
Zero-dayCVE-2021-44228·
Apache Log4j2 JNDI lookups in configuration, log messages, and parameters do not protect against attacker-controlled LDAP and other JNDI endpoints, allowing remote code execution when message lookup substitution is enabled. Affected are log4j-core 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, 2.3.1), including products such as Microsoft Azure services that bundle it.
10.0Critical
Added to CISA KEVCVE-2021-44228·
Apache Log4j2 JNDI lookups in configuration, log messages, and parameters do not protect against attacker-controlled LDAP and other JNDI endpoints, allowing remote code execution when message lookup substitution is enabled. Affected are log4j-core 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, 2.3.1), including products such as Microsoft Azure services that bundle it.
7.0High5 sources
PublishedCVE-2021-44228·
Apache Log4j2 JNDI lookups in configuration, log messages, and parameters do not protect against attacker-controlled LDAP and other JNDI endpoints, allowing remote code execution when message lookup substitution is enabled. Affected are log4j-core 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, 2.3.1), including products such as Microsoft Azure services that bundle it.
7.0High5 sources

Related

Other vulnerabilities in Log4j2, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-44228 severity on Zeptric[![CVE-2021-44228](https://zeptric.io/badge/cve/CVE-2021-44228.svg)](https://zeptric.io/cve/CVE-2021-44228)