Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
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
Exploit evidence
8 public sources
Coverage
News and research mentioning this CVE
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Log4j2, strongest first
Embed
A live severity badge for an advisory, README or ticket