Actively exploited · Published Dec 10, 2021 · Assigned by apache
CVE-2021-44228Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
Critical 10.0 Exploited Ransomware
In plain English
A critical-severity unsafe deserialization in Apache Log4j2 from Apache Software Foundation. Attackers are actively exploiting it in the wild (listed by CISA on December 10, 2021). It has been used in ransomware campaigns. The chance it is exploited in the next 30 days is estimated at 100.0% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
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.
Federal agencies must remediate by Dec 24, 2021.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | apache-log4j2 | 2.15.0-1 | DEBIAN-CVE-2021-44228 |
| Debian:13 | apache-log4j2 | 2.15.0-1 | DEBIAN-CVE-2021-44228 |
| Debian:14 | apache-log4j2 | 2.15.0-1 | DEBIAN-CVE-2021-44228 |
| Maven | com.guicedee.services:log4j-core | no fix listed | GHSA-jfh8-c2jp-5v3q |
| Maven | org.apache.logging.log4j:log4j-core | 2.15.0 | GHSA-jfh8-c2jp-5v3q |
| Maven | org.apache.logging.log4j:log4j-core | 2.3.1 | GHSA-jfh8-c2jp-5v3q |
| Maven | org.apache.logging.log4j:log4j-core | 2.12.2 | GHSA-jfh8-c2jp-5v3q |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | 1.10.8 | GHSA-jfh8-c2jp-5v3q |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | 1.11.10 | GHSA-jfh8-c2jp-5v3q |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | 2.0.11 | GHSA-jfh8-c2jp-5v3q |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | 1.9.2 | GHSA-jfh8-c2jp-5v3q |
| Maven | org.xbib.elasticsearch:log4j | no fix listed | GHSA-jfh8-c2jp-5v3q |
| Maven | uk.co.nichesolutions.logging.log4j:log4j-core | no fix listed | GHSA-jfh8-c2jp-5v3q |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Log4j2 | 2.0-beta9 – before log4j-core* |
Weakness: CWE-502, CWE-400, CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://logging.apache.org/log4j/2.x/security.html
- [oss-security] 20211210 CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints mailing-list
- [oss-security] 20211210 Re: CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints mailing-list
- 20211210 Vulnerability in Apache Log4j Library Affecting Cisco Products: December 2021 vendor-advisory
- [oss-security] 20211210 Re: CVE-2021-44228: Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints mailing-list
- https://security.netapp.com/advisory/ntap-20211210-0007/
- http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032
- https://www.oracle.com/security-alerts/alert-cve-2021-44228.html
- DSA-5020 vendor-advisory
- [debian-lts-announce] 20211212 [SECURITY] [DLA 2842-1] apache-log4j2 security update mailing-list
- FEDORA-2021-f0f501d01f vendor-advisory
- Microsoft’s Response to CVE-2021-44228 Apache Log4j 2 vendor-advisory
- [oss-security] 20211213 Re: CVE-2021-4104: Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2 mailing-list
- [oss-security] 20211213 CVE-2021-4104: Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2 mailing-list
- [oss-security] 20211214 CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack mailing-list
- VU#930724 third-party-advisory
- https://twitter.com/kurtseifried/status/1469345530182455296
- https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf
- 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
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html
- [oss-security] 20211215 Re: CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack mailing-list
- 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
- https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf
- FEDORA-2021-66d6c484f3 vendor-advisory
- http://packetstormsecurity.com/files/165371/VMware-Security-Advisory-2021-0028.4.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf
- https://www.oracle.com/security-alerts/cpujan2022.html
- http://packetstormsecurity.com/files/165532/Log4Shell-HTTP-Header-Injection.html
- https://github.com/cisagov/log4j-affected-db/blob/develop/SOFTWARE-LIST.md
- 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
- 20220314 APPLE-SA-2022-03-14-7 Xcode 13.3 mailing-list