VYPR
Critical severityCISA KEVNVD Advisory· Published Dec 10, 2021· Updated Oct 21, 2025

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

CVE-2021-44228

Description

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.logging.log4j:log4j-coreMaven
>= 2.13.0, < 2.15.02.15.0
org.apache.logging.log4j:log4j-coreMaven
>= 2.0-beta9, < 2.3.12.3.1
org.apache.logging.log4j:log4j-coreMaven
>= 2.4, < 2.12.22.12.2
com.guicedee.services:log4j-coreMaven
<= 1.2.1.2-jre17
org.ops4j.pax.logging:pax-logging-log4j2Maven
>= 1.8.0, < 1.9.21.9.2
org.ops4j.pax.logging:pax-logging-log4j2Maven
>= 1.10.0, < 1.10.81.10.8
org.ops4j.pax.logging:pax-logging-log4j2Maven
>= 1.11.0, < 1.11.101.11.10
org.ops4j.pax.logging:pax-logging-log4j2Maven
>= 2.0.0, < 2.0.112.0.11

Affected products

1
  • Apache Software Foundation/Apache Log4j2v5
    Range: 2.0-beta9

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

77

News mentions

1