CVE-2021-44228Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
- 10.0CriticalCVSS base score
- 100.0%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 10 Dec 2021
- 9Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Apache Log4j2 Remote Code Execution Vulnerability.
- Added
- 10 Dec 2021
- Fix due (US federal)
- 24 Dec 2021
- Used by ransomware
- Known
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.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 10 Dec 2021.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 5 Metasploit modules, a Nuclei template and 3 Exploit-DB entries for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits9
Metasploit modules5 modules
- MobileIron Core Unauthenticated JNDI Injection RCE (via Log4Shell) (Metasploit module) (opens in a new tab)
exploit/linux/http/mobileiron_core_log4shellRank excellentdisclosed 12 Dec 2021
- Log4Shell HTTP Scanner (Metasploit module) (opens in a new tab)
auxiliary/scanner/http/log4shell_scannerRank normaldisclosed 9 Dec 2021
- Log4Shell HTTP Header Injection (Metasploit module) (opens in a new tab)
exploit/multi/http/log4shell_header_injectionRank excellentdisclosed 9 Dec 2021
- UniFi Network Application Unauthenticated JNDI Injection RCE (via Log4Shell) (Metasploit module) (opens in a new tab)
exploit/multi/http/ubiquiti_unifi_log4shellRank excellentdisclosed 9 Dec 2021
- VMware vCenter Server Unauthenticated JNDI Injection RCE (via Log4Shell) (Metasploit module) (opens in a new tab)
exploit/multi/http/vmware_vcenter_log4shellRank excellentdisclosed 9 Dec 2021
Nuclei templates1 template
- Apache Log4j2 Remote Code Injection (Nuclei template) (opens in a new tab)
http/cves/2021/CVE-2021-44228.yamlSeverity critical
Exploit-DB3 entries
- AD Manager Plus 7122 - Remote Code Execution (RCE) (Exploit-DB entry) (opens in a new tab)
EDB-ID 51183remote, javapublished 1 Apr 2023Not verified
- Apache Log4j2 2.14.1 - Information Disclosure (Exploit-DB entry) (opens in a new tab)
EDB-ID 50590remote, javapublished 14 Dec 2021Not verified
- Apache Log4j 2 - Remote Code Execution (RCE) (Exploit-DB entry) (opens in a new tab)
EDB-ID 50592remote, javapublished 14 Dec 2021Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apache
- 14 days later
· 14 days later
Published
Added to CISA KEV
Known exploited, also by ransomware
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 100.0% · top 0.1% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 10.0.
Affected products
Apache Software Foundation · Apache Log4j2
- affected 2.0-beta9 – < log4j-core*
Affected packages
Affected packages5
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.guicedee.services:log4j-coreGHSA-jfh8-c2jp-5v3q (opens in a new tab)
- Mavenorg.apache.logging.log4j:log4j-coreGHSA-jfh8-c2jp-5v3q (opens in a new tab)
- Mavenorg.ops4j.pax.logging:pax-logging-log4j2GHSA-jfh8-c2jp-5v3q (opens in a new tab)
- Mavenorg.xbib.elasticsearch:log4jGHSA-jfh8-c2jp-5v3q (opens in a new tab)
- Mavenuk.co.nichesolutions.logging.log4j:log4j-coreGHSA-jfh8-c2jp-5v3q (opens in a new tab)
References
References52
- https://logging.apache.org/log4j/2.x/security.html (opens in a new tab)x_transferred
- [oss-security] 20211210 CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints (opens in a new tab)mailing-listx_transferred
- [oss-security] 20211210 Re: CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints (opens in a new tab)mailing-listx_transferred
- 20211210 Vulnerability in Apache Log4j Library Affecting Cisco Products: December 2021 (opens in a new tab)vendor-advisoryx_transferred
- [oss-security] 20211210 Re: CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints (opens in a new tab)mailing-listx_transferred
- https://security.netapp.com/advisory/ntap-20211210-0007/ (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html (opens in a new tab)x_transferred
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032 (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/alert-cve-2021-44228.html (opens in a new tab)x_transferred
- DSA-5020 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20211212 [SECURITY] [DLA 2842-1] apache-log4j2 security update (opens in a new tab)mailing-listx_transferred
- FEDORA-2021-f0f501d01f (opens in a new tab)vendor-advisoryx_transferred
- Microsoft’s Response to CVE-2021-44228 Apache Log4j 2 (opens in a new tab)vendor-advisoryx_transferred
- [oss-security] 20211213 Re: CVE-2021-4104: Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2 (opens in a new tab)mailing-listx_transferred
- [oss-security] 20211213 CVE-2021-4104: Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2 (opens in a new tab)mailing-listx_transferred
- [oss-security] 20211214 CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack (opens in a new tab)mailing-listx_transferred
- VU#930724 (opens in a new tab)third-party-advisoryx_transferred
- https://twitter.com/kurtseifried/status/1469345530182455296 (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165260/VMware-Security-Advisory-2021-0028.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165270/Apache-Log4j2-2.14.1-Remote-Code-Execution.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165261/Apache-Log4j2-2.14.1-Information-Disclosure.html (opens in a new tab)x_transferred
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html (opens in a new tab)x_transferred
- [oss-security] 20211215 Re: CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack (opens in a new tab)mailing-listx_transferred
- http://packetstormsecurity.com/files/165282/Log4j-Payload-Generator.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165281/Log4j2-Log4Shell-Regexes.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165307/Log4j-Remote-Code-Execution-Word-Bypassing.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165311/log4j-scan-Extensive-Scanner.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165306/L4sh-Log4j-Remote-Code-Execution.html (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf (opens in a new tab)x_transferred
- FEDORA-2021-66d6c484f3 (opens in a new tab)vendor-advisoryx_transferred
- http://packetstormsecurity.com/files/165371/VMware-Security-Advisory-2021-0028.4.html (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165532/Log4Shell-HTTP-Header-Injection.html (opens in a new tab)x_transferred
- https://github.com/cisagov/log4j-affected-db/blob/develop/SOFTWARE-LIST.md (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165642/VMware-vCenter-Server-Unauthenticated-Log4Shell-JNDI-Injection-Remote-Code-Execution.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/165673/UniFi-Network-Application-Unauthenticated-Log4Shell-Remote-Code-Execution.html (opens in a new tab)x_transferred
- 20220314 APPLE-SA-2022-03-14-7 Xcode 13.3 (opens in a new tab)mailing-listx_transferred
- https://www.bentley.com/en/common-vulnerability-exposure/be-2022-0001 (opens in a new tab)x_transferred
- https://github.com/cisagov/log4j-affected-db (opens in a new tab)x_transferred
- https://support.apple.com/kb/HT213189 (opens in a new tab)x_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_transferred
- https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-44228 (opens in a new tab)x_transferred
- https://www.nu11secur1ty.com/2021/12/cve-2021-44228.html (opens in a new tab)x_transferred
- 20220721 Open-Xchange Security Advisory 2022-07-21 (opens in a new tab)mailing-listx_transferred
- http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html (opens in a new tab)x_transferred
- http://packetstormsecurity.com/files/167917/MobileIron-Log4Shell-Remote-Command-Execution.html (opens in a new tab)x_transferred
- 20221208 Intel Data Center Manager <= 5.1 Local Privileges Escalation (opens in a new tab)mailing-listx_transferred
- http://packetstormsecurity.com/files/171626/AD-Manager-Plus-7122-Remote-Code-Execution.html (opens in a new tab)x_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-44228 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-34768 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jfh8-c2jp-5v3q (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-44228)Record last updated .