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

> CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints. CVSS 10.0 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2021-44228
Last updated: 2025-10-21T23:25:23Z

- Published: 2021-12-10 00:00 UTC · Updated: 2025-10-21 23:25 UTC · Assigner: apache
- CVSS: 10.0 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS: 100.0%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2021-12-10, federal due date 2021-12-24, ransomware use: Known
- CWE: CWE-20, CWE-400, CWE-502

## 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.

## CISA 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.

## Affected vendors and products

- Apache Software Foundation: Apache Log4j2

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2021-44228)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2021-44228)
- [http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html](http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html)
- [http://packetstormsecurity.com/files/165260/VMware-Security-Advisory-2021-0028.html](http://packetstormsecurity.com/files/165260/VMware-Security-Advisory-2021-0028.html)
- [http://packetstormsecurity.com/files/165261/Apache-Log4j2-2.14.1-Information-Disclosure.html](http://packetstormsecurity.com/files/165261/Apache-Log4j2-2.14.1-Information-Disclosure.html)
- [http://packetstormsecurity.com/files/165270/Apache-Log4j2-2.14.1-Remote-Code-Execution.html](http://packetstormsecurity.com/files/165270/Apache-Log4j2-2.14.1-Remote-Code-Execution.html)
- [http://packetstormsecurity.com/files/165281/Log4j2-Log4Shell-Regexes.html](http://packetstormsecurity.com/files/165281/Log4j2-Log4Shell-Regexes.html)
- [http://packetstormsecurity.com/files/165282/Log4j-Payload-Generator.html](http://packetstormsecurity.com/files/165282/Log4j-Payload-Generator.html)
- [http://packetstormsecurity.com/files/165306/L4sh-Log4j-Remote-Code-Execution.html](http://packetstormsecurity.com/files/165306/L4sh-Log4j-Remote-Code-Execution.html)
- [http://packetstormsecurity.com/files/165307/Log4j-Remote-Code-Execution-Word-Bypassing.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/165311/log4j-scan-Extensive-Scanner.html)
- [http://packetstormsecurity.com/files/165371/VMware-Security-Advisory-2021-0028.4.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/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/165642/VMware-vCenter-Server-Unauthenticated-Log4Shell-JNDI-Injection-Remote-Code-Execution.html)
- [https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf](https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf)
- [https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf](https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf)
- [https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf](https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf)
- [https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf](https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf)
- [https://github.com/cisagov/log4j-affected-db/blob/develop/SOFTWARE-LIST.md](https://github.com/cisagov/log4j-affected-db/blob/develop/SOFTWARE-LIST.md)
- [https://lists.debian.org/debian-lts-announce/2021/12/msg00007.html](https://lists.debian.org/debian-lts-announce/2021/12/msg00007.html)
- [https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5CSVUNV4HWZZXGOKNSK6L7RPM7BOKIB/](https://lists.fedoraproject.org/archives/list/package-announce%2540lists.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%2540lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM/)
- [https://logging.apache.org/log4j/2.x/security.html](https://logging.apache.org/log4j/2.x/security.html)
- [https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/](https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/)
- [https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032](https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032)
- [https://security.netapp.com/advisory/ntap-20211210-0007/](https://security.netapp.com/advisory/ntap-20211210-0007/)
- [https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd](https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd)
- [https://twitter.com/kurtseifried/status/1469345530182455296](https://twitter.com/kurtseifried/status/1469345530182455296)
- [https://www.debian.org/security/2021/dsa-5020](https://www.debian.org/security/2021/dsa-5020)
- [https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html](https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html)
- [https://www.kb.cert.org/vuls/id/930724](https://www.kb.cert.org/vuls/id/930724)
- [https://www.oracle.com/security-alerts/alert-cve-2021-44228.html](https://www.oracle.com/security-alerts/alert-cve-2021-44228.html)
- [https://www.oracle.com/security-alerts/cpujan2022.html](https://www.oracle.com/security-alerts/cpujan2022.html)
- [http://www.openwall.com/lists/oss-security/2021/12/10/1](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/2)
- [http://www.openwall.com/lists/oss-security/2021/12/10/3](http://www.openwall.com/lists/oss-security/2021/12/10/3)
- [http://www.openwall.com/lists/oss-security/2021/12/13/1](http://www.openwall.com/lists/oss-security/2021/12/13/1)
- [http://www.openwall.com/lists/oss-security/2021/12/13/2](http://www.openwall.com/lists/oss-security/2021/12/13/2)
- [http://www.openwall.com/lists/oss-security/2021/12/14/4](http://www.openwall.com/lists/oss-security/2021/12/14/4)
- [http://www.openwall.com/lists/oss-security/2021/12/15/3](http://www.openwall.com/lists/oss-security/2021/12/15/3)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2021-44228 · Markdown: https://rewindex.com/cve/CVE-2021-44228.md · JSON: https://rewindex.com/api/v1/cves/CVE-2021-44228 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:13:41.111Z
