CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
Also known as EDB-50590, EDB-50592, EDB-51183, GHSA-jfh8-c2jp-5v3q
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).
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*
Vulnerability facts
- 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
- 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 the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 10.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 100.00% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-502, CWE-400, CWE-20
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.logging.log4j:log4j-core | >= 2.13.0, < 2.15.0 | 2.15.0, 2.3.1, 2.12.2 | osv |
| Maven com.guicedee.services:log4j-core | <= 1.2.1.2-jre17 | — | osv |
| Maven org.xbib.elasticsearch:log4j | 6.3.2.1 | — | osv |
| Maven uk.co.nichesolutions.logging.log4j:log4j-core | 2.6.3-CUSTOM | — | osv |
| Maven org.ops4j.pax.logging:pax-logging-log4j2 | >= 1.8.0, < 1.9.2 | 1.9.2, 1.10.8, 1.11.10, 2.0.11 | osv |
| Apache Software Foundation Apache Log4j2 | >= 2.0-beta9, < log4j-core* | — | cvelist |
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 Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
- https://logging.apache.org/log4j/2.x/security.html
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- https://www.debian.org/security/2021/dsa-5020
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM/
- https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5CSVUNV4HWZZXGOKNSK6L7RPM7BOKIB/
- https://nvd.nist.gov/vuln/detail/CVE-2021-44228
- https://github.com/advisories/GHSA-7rjr-3q55-vv33
Patches
Exploits and PoCs
- http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html
- https://twitter.com/kurtseifried/status/1469345530182455296
- http://packetstormsecurity.com/files/165260/VMware-Security-Advisory-2021-0028.html
- http://packetstormsecurity.com/files/165270/Apache-Log4j2-2.14.1-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/165261/Apache-Log4j2-2.14.1-Information-Disclosure.html
- http://packetstormsecurity.com/files/165282/Log4j-Payload-Generator.html
- http://packetstormsecurity.com/files/165281/Log4j2-Log4Shell-Regexes.html
- http://packetstormsecurity.com/files/165307/Log4j-Remote-Code-Execution-Word-Bypassing.html
- http://packetstormsecurity.com/files/165311/log4j-scan-Extensive-Scanner.html
- http://packetstormsecurity.com/files/165306/L4sh-Log4j-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/165371/VMware-Security-Advisory-2021-0028.4.html
- http://packetstormsecurity.com/files/165532/Log4Shell-HTTP-Header-Injection.html
- http://packetstormsecurity.com/files/165642/VMware-vCenter-Server-Unauthenticated-Log4Shell-JNDI-Injection-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/165673/UniFi-Network-Application-Unauthenticated-Log4Shell-Remote-Code-Execution.html
- https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-44228
- https://www.nu11secur1ty.com/2021/12/cve-2021-44228.html
- http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html
- http://packetstormsecurity.com/files/167917/MobileIron-Log4Shell-Remote-Command-Execution.html
- http://seclists.org/fulldisclosure/2022/Dec/2
- http://packetstormsecurity.com/files/171626/AD-Manager-Plus-7122-Remote-Code-Execution.html
- https://packetstormsecurity.com/files/165673/UniFi-Network-Application-Unauthenticated-Log4Shell-Remote-Code-Execution.html
- https://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html
- https://packetstormsecurity.com/files/167917/MobileIron-Log4Shell-Remote-Command-Execution.html
- https://packetstormsecurity.com/files/171626/AD-Manager-Plus-7122-Remote-Code-Execution.html
- https://www.exploit-db.com/exploits/51183
- https://www.exploit-db.com/exploits/50592
- https://www.exploit-db.com/exploits/50590
Other
- http://www.openwall.com/lists/oss-security/2021/12/10/1
- http://www.openwall.com/lists/oss-security/2021/12/10/2
- http://www.openwall.com/lists/oss-security/2021/12/10/3
- https://security.netapp.com/advisory/ntap-20211210-0007/
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032
- https://www.oracle.com/security-alerts/alert-cve-2021-44228.html
- https://lists.debian.org/debian-lts-announce/2021/12/msg00007.html
- http://www.openwall.com/lists/oss-security/2021/12/13/2
- http://www.openwall.com/lists/oss-security/2021/12/13/1
- http://www.openwall.com/lists/oss-security/2021/12/14/4
- https://www.kb.cert.org/vuls/id/930724
- https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html
- http://www.openwall.com/lists/oss-security/2021/12/15/3
- https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf
- https://github.com/cisagov/log4j-affected-db/blob/develop/SOFTWARE-LIST.md
- http://seclists.org/fulldisclosure/2022/Mar/23
- https://www.bentley.com/en/common-vulnerability-exposure/be-2022-0001
- https://github.com/cisagov/log4j-affected-db
- https://support.apple.com/kb/HT213189
- http://seclists.org/fulldisclosure/2022/Jul/11
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-44228
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- https://seclists.org/fulldisclosure/2022/Dec/2
- https://seclists.org/fulldisclosure/2022/Jul/11
- https://seclists.org/fulldisclosure/2022/Mar/23
- https://security.netapp.com/advisory/ntap-20211210-0007
- https://github.com/apache/logging-log4j2
- https://github.com/tangxiaofeng7/apache-log4j-poc
- https://issues.apache.org/jira/browse/LOG4J2-3198
- https://issues.apache.org/jira/browse/LOG4J2-3201
- https://issues.apache.org/jira/browse/LOG4J2-3214
- https://issues.apache.org/jira/browse/LOG4J2-3221
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5CSVUNV4HWZZXGOKNSK6L7RPM7BOKIB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M5CSVUNV4HWZZXGOKNSK6L7RPM7BOKIB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM
- https://logging.apache.org/log4j/2.x/changes-report.html#a2.15.0
- https://logging.apache.org/log4j/2.x/manual/lookups.html#JndiLookup
- https://logging.apache.org/log4j/2.x/manual/migration.html
- https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2
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.