CVE-2021-44228
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.
Weakness
- CWE-502: Deserialization of Untrusted Data
- CWE-400: Uncontrolled Resource Consumption
- CWE-20: Improper Input Validation
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Apache Log4j2 Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | Apache / Log4j2 |
| Date added | 2021-12-10 |
| Federal remediation due date | 2021-12-24 |
| 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. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-02-04 |
Timeline
- 2021-12-10Published by the CNA00:00 UTC
- 2021-12-10GitHub advisory published (GHSA-jfh8-c2jp-5v3q)same day
- 2021-12-10Added to the CISA KEV catalogsame day
- 2021-12-14First Exploit-DB entry (EDB-ID 50590)4 days after publication
- 2025-02-04CISA SSVC decision recorded1152 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 51183 | remote | java | 2023-04-01 | no |
| EDB-ID 50592 | remote | java | 2021-12-14 | no |
| EDB-ID 50590 | remote | java | 2021-12-14 | no |
Nuclei templates:
- CVE-2021-44228: Apache Log4j2 Remote Code Injection
GitHub advisory GHSA-jfh8-c2jp-5v3q, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven com.guicedee.services:log4j-core | through 1.2.1.2-jre17 | |
| Maven org.apache.logging.log4j:log4j-core | from 2.0-beta9 before 2.3.1 | 2.3.1 |
| Maven org.apache.logging.log4j:log4j-core | from 2.13.0 before 2.15.0 | 2.15.0 |
| Maven org.apache.logging.log4j:log4j-core | from 2.4 before 2.12.2 | 2.12.2 |
| Maven org.ops4j.pax.logging:pax-logging-log4j2 | from 1.10.0 before 1.10.8 | 1.10.8 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache log4j | from 2.4.0 before 2.12.2fixed in 2.12.2from 2.13.0 before 2.15.0fixed in 2.15.0from 2.0.1 before 2.3.1fixed in 2.3.12.0no fix listed | 2.12.22.15.02.3.1not listed |
| apple xcode | before 13.3fixed in 13.3 | 13.3 |
| bentley synchro | from 6.1 before 6.2.4.2fixed in 6.2.4.2 | 6.2.4.2 |
| bentley synchro_4d | before 6.4.3.2fixed in 6.4.3.2 | 6.4.3.2 |
| cisco advanced_malware_protection_virtual_private_cloud_appliance | before 3.5.4fixed in 3.5.4 | 3.5.4 |
| cisco automated_subsea_tuning | before 2.1.0fixed in 2.1.002.01.00no fix listed | 2.1.0not listed |
| cisco broadworks | before 2021.11_1.162fixed in 2021.11_1.162 | 2021.11_1.162 |
| cisco business_process_automation | before 3.0.000.115fixed in 3.0.000.115from 3.1.000.000 before 3.1.000.044fixed in 3.1.000.044from 3.2.000.000 before 3.2.000.009fixed in 3.2.000.009 | 3.0.000.1153.1.000.0443.2.000.009 |
| cisco cloud_connect | ||
| cisco cloudcenter | before 4.10.0.16fixed in 4.10.0.16 | 4.10.0.16 |
| cisco cloudcenter_cost_optimizer | before 5.5.2fixed in 5.5.2 | 5.5.2 |
| cisco cloudcenter_suite | 4.10.0.15no fix listed5.3.0no fix listed5.4.1no fix listed5.5.0no fix listed5.5.1no fix listed | not listednot listednot listednot listednot listed |
| cisco cloudcenter_suite_admin | before 5.3.1fixed in 5.3.1 | 5.3.1 |
| cisco cloudcenter_workload_manager | before 5.5.2fixed in 5.5.2 | 5.5.2 |
| cisco common_services_platform_collector | from 2.10.0 before 2.10.0.1fixed in 2.10.0.1before 2.9.1.3fixed in 2.9.1.3 | 2.10.0.12.9.1.3 |
| cisco connected_mobile_experiences | ||
| cisco contact_center_domain_manager | ||
| cisco contact_center_management_portal | ||
| cisco crosswork_data_gateway | before 2.0.2fixed in 2.0.23.0.0no fix listed | 2.0.2not listed |
| cisco crosswork_network_automation | 2.0.0no fix listed3.0.0no fix listed4.1.0no fix listed4.1.1no fix listed | not listednot listednot listednot listed |
References
- https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- 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://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
- 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/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
- http://packetstormsecurity.com/files/167917/MobileIron-Log4Shell-Remote-Command-Execution.html
- http://seclists.org/fulldisclosure/2022/Dec/2
- https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-44228
- https://twitter.com/kurtseifried/status/1469345530182455296
- https://www.nu11secur1ty.com/2021/12/cve-2021-44228.html
- http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-44228'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-44228'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-44228'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-44228'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2021-44228'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).