CVE-2021-44228
Also known as: GHSA-jfh8-c2jp-5v3q
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.
Severity
CVSS 3.x
10
- Exploitability
- 3.9
- Impact
- 6
- AV:N
- AC:L
- PR:N
- UI:N
- S:C
- C:H
- I:H
- A:H
CVSS 2.0
9.3
- Exploitability
- 8.6
- Impact
- 10
- AV:N
- AC:M
- Au:N
- C:C
- I:C
- A:C
Weakness Enumeration
CISA Exploit alert (by Cybersecurity and Infrastructure Security Agency)
Added: 2021-12-10
Required action: For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks. Temporary mitigations using one of the measures provided at https://www.cisa.gov/uscert/ed-22-02-apache-log4j-recommended-mitigation-measures are only acceptable until updates are available.
Change History
Last Modified: Aug 11, 2026
Affected Packages
Maven org.apache.logging.log4j:log4j-core: >= 2.13.0, < 2.15.0
Maven org.apache.logging.log4j:log4j-core: >= 2.0-beta9, < 2.3.1
Maven org.apache.logging.log4j:log4j-core: >= 2.4, < 2.12.2
Maven com.guicedee.services:log4j-core: >= 0, <= 1.2.1.2-jre17
Maven org.xbib.elasticsearch:log4j: 6.3.2.1
Maven uk.co.nichesolutions.logging.log4j:log4j-core: 2.6.3-CUSTOM
Maven org.ops4j.pax.logging:pax-logging-log4j2: >= 1.8.0, < 1.9.2
Maven org.ops4j.pax.logging:pax-logging-log4j2: >= 1.10.0, < 1.10.8
Maven org.ops4j.pax.logging:pax-logging-log4j2: >= 1.11.0, < 1.11.10
Maven org.ops4j.pax.logging:pax-logging-log4j2: >= 2.0.0, < 2.0.11
Known Affected Software Configurations
cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:log4j:2.0:-:*:*:*:*:*:*
cpe:2.3:a:apache:log4j:2.0:beta9:*:*:*:*:*:*
cpe:2.3:a:apache:log4j:2.0:rc1:*:*:*:*:*:*
cpe:2.3:a:apache:log4j:2.0:rc2:*:*:*:*:*:*
cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:*
cpe:2.3:a:bentley:synchro:*:*:*:*:pro:*:*:*
cpe:2.3:a:bentley:synchro_4d:*:*:*:*:pro:*:*:*
cpe:2.3:a:cisco:advanced_malware_protection_virtual_private_cloud_appliance:*:*:*:*:*:*:*:*
cpe:2.3:a:cisco:automated_subsea_tuning:*:*:*:*:*:*:*:*
References to Advisories, Solutions, and Tools
[security@apache.org] Third Party Advisory, VDB Entry
[security@apache.org] Third Party Advisory, VDB Entry
[security@apache.org] Exploit, Third Party Advisory, VDB Entry
[security@apache.org] Exploit, Third Party Advisory, VDB Entry
[security@apache.org] Third Party Advisory, VDB Entry
[security@apache.org] Third Party Advisory, VDB Entry
[security@apache.org] Third Party Advisory, VDB Entry
[security@apache.org] Third Party Advisory, VDB Entry
[security@apache.org] Broken Link, Third Party Advisory, VDB Entry
[security@apache.org] Exploit, Third Party Advisory, VDB Entry