# CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2021-12-10; federal due date 2021-12-24; known ransomware use
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 100.00% (percentile 100, 2026-11-26)
- **CWE:** CWE-502, CWE-400, CWE-20
- **Aliases:** EDB-50590, EDB-50592, EDB-51183, GHSA-jfh8-c2jp-5v3q
- **Published:** 2021-12-10T00:00:00.000Z
- **Modified:** 2026-08-11T19:33:44.513Z

## Who should check

- Projects that depend on Maven package org.apache.logging.log4j:log4j-core (\>= 2.13.0, \< 2.15.0)
- Projects that depend on Maven package com.guicedee.services:log4j-core (\<= 1.2.1.2-jre17)
- Projects that depend on Maven package org.xbib.elasticsearch:log4j (6.3.2.1)
- Projects that depend on Maven package uk.co.nichesolutions.logging.log4j:log4j-core (2.6.3-CUSTOM)
- Projects that depend on Maven package org.ops4j.pax.logging:pax-logging-log4j2 (\>= 1.8.0, \< 1.9.2)
- Anyone running Apache Software Foundation Apache Log4j2 \>= 2.0-beta9, \< log4j-core\*

## 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 and fixed versions

- Maven `org.apache.logging.log4j:log4j-core`: affected \>= 2.13.0, \< 2.15.0; fixed 2.15.0, 2.3.1, 2.12.2 (osv)
- Maven `com.guicedee.services:log4j-core`: affected \<= 1.2.1.2-jre17; fixed no fix listed yet (osv)
- Maven `org.xbib.elasticsearch:log4j`: affected 6.3.2.1; fixed no fix listed yet (osv)
- Maven `uk.co.nichesolutions.logging.log4j:log4j-core`: affected 2.6.3-CUSTOM; fixed no fix listed yet (osv)
- Maven `org.ops4j.pax.logging:pax-logging-log4j2`: affected \>= 1.8.0, \< 1.9.2; fixed 1.9.2, 1.10.8, 1.11.10, 2.0.11 (osv)
- Apache Software Foundation Apache Log4j2: \>= 2.0-beta9, \< log4j-core\* (cvelist)

## Mitigation

- Upgrade org.apache.logging.log4j:log4j-core to one of 2.15.0, 2.3.1, 2.12.2 (or later in the same release line).
- Upgrade org.ops4j.pax.logging:pax-logging-log4j2 to one of 1.9.2, 1.10.8, 1.11.10, 2.0.11 (or later in the same release line).

## Timeline

- 2021-12-10: Published
- 2021-12-10: Added to CISA KEV (exploited in the wild)
- 2021-12-24: CISA remediation due date for US federal agencies
- 2026-08-11: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-44228. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-44228.md
Affected: org.apache.logging.log4j:log4j-core >= 2.13.0, < 2.15.0; com.guicedee.services:log4j-core <= 1.2.1.2-jre17; org.xbib.elasticsearch:log4j 6.3.2.1; uk.co.nichesolutions.logging.log4j:log4j-core 2.6.3-CUSTOM; org.ops4j.pax.logging:pax-logging-log4j2 >= 1.8.0, < 1.9.2
Fixed in: 2.15.0, 2.3.1, 2.12.2, 1.9.2, 1.10.8, 1.11.10, 2.0.11

Steps:
1. Search this machine and project for org.apache.logging.log4j:log4j-core (Maven), com.guicedee.services:log4j-core (Maven), org.xbib.elasticsearch:log4j (Maven), uk.co.nichesolutions.logging.log4j:log4j-core (Maven), org.ops4j.pax.logging:pax-logging-log4j2 (Maven), Apache Software Foundation Apache Log4j2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-44228 being exploited?

Yes. CISA lists CVE-2021-44228 in its Known Exploited Vulnerabilities catalog since 2021-12-10, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 100.00% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-44228?

Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2021-44228?

org.apache.logging.log4j:log4j-core \>= 2.13.0, \< 2.15.0; com.guicedee.services:log4j-core \<= 1.2.1.2-jre17; org.xbib.elasticsearch:log4j 6.3.2.1; uk.co.nichesolutions.logging.log4j:log4j-core 2.6.3-CUSTOM; org.ops4j.pax.logging:pax-logging-log4j2 \>= 1.8.0, \< 1.9.2.

### Is there a fix for CVE-2021-44228?

Yes. Fixed in 2.15.0, 2.3.1, 2.12.2, 1.9.2, 1.10.8, 1.11.10, 2.0.11. Upgrade org.apache.logging.log4j:log4j-core to one of 2.15.0, 2.3.1, 2.12.2 (or later in the same release line). Upgrade org.ops4j.pax.logging:pax-logging-log4j2 to one of 1.9.2, 1.10.8, 1.11.10, 2.0.11 (or later in the same release line).

### How do I check if I'm affected by CVE-2021-44228?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://logging.apache.org/log4j/2.x/security.html>
- vendor: <https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd>
- vendor: <https://www.debian.org/security/2021/dsa-5020>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM/>
- vendor: <https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5CSVUNV4HWZZXGOKNSK6L7RPM7BOKIB/>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2021-44228>
- vendor: <https://github.com/advisories/GHSA-7rjr-3q55-vv33>
- patch: <https://www.oracle.com/security-alerts/cpujan2022.html>
- patch: <https://www.oracle.com/security-alerts/cpuapr2022.html>
- patch: <https://github.com/apache/logging-log4j2/pull/608>
- patch: <https://github.com/github/advisory-database/pull/5501>
- exploit: <http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html>
- exploit: <https://twitter.com/kurtseifried/status/1469345530182455296>
- exploit: <http://packetstormsecurity.com/files/165260/VMware-Security-Advisory-2021-0028.html>
- exploit: <http://packetstormsecurity.com/files/165270/Apache-Log4j2-2.14.1-Remote-Code-Execution.html>
- exploit: <http://packetstormsecurity.com/files/165261/Apache-Log4j2-2.14.1-Information-Disclosure.html>
- exploit: <http://packetstormsecurity.com/files/165282/Log4j-Payload-Generator.html>
- exploit: <http://packetstormsecurity.com/files/165281/Log4j2-Log4Shell-Regexes.html>
- exploit: <http://packetstormsecurity.com/files/165307/Log4j-Remote-Code-Execution-Word-Bypassing.html>
- exploit: <http://packetstormsecurity.com/files/165311/log4j-scan-Extensive-Scanner.html>
- exploit: <http://packetstormsecurity.com/files/165306/L4sh-Log4j-Remote-Code-Execution.html>
- exploit: <http://packetstormsecurity.com/files/165371/VMware-Security-Advisory-2021-0028.4.html>
- exploit: <http://packetstormsecurity.com/files/165532/Log4Shell-HTTP-Header-Injection.html>
- exploit: <http://packetstormsecurity.com/files/165642/VMware-vCenter-Server-Unauthenticated-Log4Shell-JNDI-Injection-Remote-Code-Execution.html>
- exploit: <http://packetstormsecurity.com/files/165673/UniFi-Network-Application-Unauthenticated-Log4Shell-Remote-Code-Execution.html>
- exploit: <https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-44228>
- exploit: <https://www.nu11secur1ty.com/2021/12/cve-2021-44228.html>
- exploit: <http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html>
- exploit: <http://packetstormsecurity.com/files/167917/MobileIron-Log4Shell-Remote-Command-Execution.html>
- exploit: <http://seclists.org/fulldisclosure/2022/Dec/2>
- exploit: <http://packetstormsecurity.com/files/171626/AD-Manager-Plus-7122-Remote-Code-Execution.html>
- exploit: <https://packetstormsecurity.com/files/165673/UniFi-Network-Application-Unauthenticated-Log4Shell-Remote-Code-Execution.html>
- exploit: <https://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html>
- exploit: <https://packetstormsecurity.com/files/167917/MobileIron-Log4Shell-Remote-Command-Execution.html>
- exploit: <https://packetstormsecurity.com/files/171626/AD-Manager-Plus-7122-Remote-Code-Execution.html>
- exploit: <https://www.exploit-db.com/exploits/51183>
- exploit: <https://www.exploit-db.com/exploits/50592>
- exploit: <https://www.exploit-db.com/exploits/50590>
- other: <http://www.openwall.com/lists/oss-security/2021/12/10/1>
- other: <http://www.openwall.com/lists/oss-security/2021/12/10/2>
- other: <http://www.openwall.com/lists/oss-security/2021/12/10/3>
- other: <https://security.netapp.com/advisory/ntap-20211210-0007/>
- other: <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032>
- other: <https://www.oracle.com/security-alerts/alert-cve-2021-44228.html>
- other: <https://lists.debian.org/debian-lts-announce/2021/12/msg00007.html>
- other: <http://www.openwall.com/lists/oss-security/2021/12/13/2>
- other: <http://www.openwall.com/lists/oss-security/2021/12/13/1>
- other: <http://www.openwall.com/lists/oss-security/2021/12/14/4>
- other: <https://www.kb.cert.org/vuls/id/930724>
- other: <https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf>
- other: <https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html>
- other: <http://www.openwall.com/lists/oss-security/2021/12/15/3>
- other: <https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf>
- other: <https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf>
- other: <https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf>
- other: <https://github.com/cisagov/log4j-affected-db/blob/develop/SOFTWARE-LIST.md>
- other: <http://seclists.org/fulldisclosure/2022/Mar/23>
- other: <https://www.bentley.com/en/common-vulnerability-exposure/be-2022-0001>
- other: <https://github.com/cisagov/log4j-affected-db>
- other: <https://support.apple.com/kb/HT213189>
- other: <http://seclists.org/fulldisclosure/2022/Jul/11>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-44228>
- other: <https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd>
- other: <https://seclists.org/fulldisclosure/2022/Dec/2>
- other: <https://seclists.org/fulldisclosure/2022/Jul/11>
- other: <https://seclists.org/fulldisclosure/2022/Mar/23>
- other: <https://security.netapp.com/advisory/ntap-20211210-0007>
- other: <https://github.com/apache/logging-log4j2>
- other: <https://github.com/tangxiaofeng7/apache-log4j-poc>
- other: <https://issues.apache.org/jira/browse/LOG4J2-3198>
- other: <https://issues.apache.org/jira/browse/LOG4J2-3201>
- other: <https://issues.apache.org/jira/browse/LOG4J2-3214>
- other: <https://issues.apache.org/jira/browse/LOG4J2-3221>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5CSVUNV4HWZZXGOKNSK6L7RPM7BOKIB>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M5CSVUNV4HWZZXGOKNSK6L7RPM7BOKIB>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM>
- other: <https://logging.apache.org/log4j/2.x/changes-report.html#a2.15.0>
- other: <https://logging.apache.org/log4j/2.x/manual/lookups.html#JndiLookup>
- other: <https://logging.apache.org/log4j/2.x/manual/migration.html>
- other: <https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-44228>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jfh8-c2jp-5v3q> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/51183>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2021-44228> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-44228>
