Log4Shell.Code execution.
Log4Shell is the nickname of CVE-2021-44228 in Apache Log4j. 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: Apache Log4j2 contains a vulnerability where JNDI features do not protect against attacker-controlled JNDI-related endpoints, allowing for remote code execution.
Name used by: CISA, Apache Log4j vulnerability guidance
From publication to today
Fix it
- Upgrade Apache Log4j2 to 2.3.1, 2.12.2, 2.15.0 or later, whichever matches your release line.
- Upgrade org.apache.logging.log4j:log4j-core (Maven) to 2.3.1, 2.12.2, 2.15.0 or later, whichever matches your release line.
- Upgrade org.ops4j.pax.logging:pax-logging-log4j2 (Maven) to 1.9.2, 1.10.8, 1.11.10, 2.0.11 or later, whichever matches your release line.
- CISA requires US federal agencies to fix it by 24 Dec 2021.
Affected and fixed versions
The full page for CVE-2021-44228
Severity details, every source, exploit references with their warnings, and the version check.