CVE-2021-44228: Apache Log4j2 Remote Code Execution Vulnerability
Apache Log4j2 contains a vulnerability where JNDI features do not protect against attacker-controlled JNDI-related endpoints, allowing for remote code execution.
Why it matters
CISA added CVE-2021-44228 to its Known Exploited Vulnerabilities (KEV) catalog on 2021-12-10 — meaning it is confirmed to be exploited in the wild, not just theoretically risky. It has been used in ransomware campaigns. US federal agencies had to remediate it by 2021-12-24, and it is a high priority for everyone else too.
How to fix it
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.
Details
- Affected: Apache Log4j2
- Added to CISA KEV: 2021-12-10
- Federal remediation due: 2021-12-24
- Weakness: CWE-20, CWE-400, CWE-502
- EPSS: 100.0% chance of exploitation in the next 30 days, higher than 100% of all CVEs
- Reference: NVD entry for CVE-2021-44228
Affected open-source packages
The GitHub Advisory Database links CVE-2021-44228 to these packages. Each page lists every advisory for the package, the affected versions and the fixed release:
- org.apache.logging.log4j:log4j-core Maven (Java)
- org.ops4j.pax.logging:pax-logging-log4j2 Maven (Java)
- com.guicedee.services:log4j-core Maven (Java)
- org.xbib.elasticsearch:log4j Maven (Java)
- uk.co.nichesolutions.logging.log4j:log4j-core Maven (Java)
Is CVE-2021-44228 in your fleet?
SkyShield scans your servers, containers and cloud for vulnerable packages and images (Trivy), ranks them by whether they're on CISA KEV and their EPSS exploit probability, and shows the fix per machine. Start free.