Known exploited vulnerability
CVE-2021-44228
The short answer
CVE-2021-44228 affects Apache Software Foundation Apache Log4j2 and is rated critical (CVSS 10.0). CISA added it to the Known Exploited Vulnerabilities catalog on 2021-12-10: attackers are using it, so patch it first. Fixed versions are published for log4j-core (2.15.0, 2.3.1, 2.12.2) and pax-logging-log4j2 (1.9.2, 1.10.8, 1.11.10).
What it is
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.
Severity
10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Exploited (CISA KEV)
Yes, since Dec 10, 2021
Federal due date Dec 24, 2021
EPSS, next 30 days
100%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
What CISA says to do
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 packages and fixed versions
| Package | Ecosystem | Fixed in | Advisory |
|---|---|---|---|
| org.apache.logging.log4j:log4j-core | Maven | 2.15.0, 2.3.1, 2.12.2 | GHSA-jfh8-c2jp-5v3q |
| com.guicedee.services:log4j-core | Maven | No fix yet | GHSA-jfh8-c2jp-5v3q |
| org.xbib.elasticsearch:log4j | Maven | No fix yet | GHSA-jfh8-c2jp-5v3q |
| uk.co.nichesolutions.logging.log4j:log4j-core | Maven | No fix yet | GHSA-jfh8-c2jp-5v3q |
| org.ops4j.pax.logging:pax-logging-log4j2 | Maven | 1.9.2, 1.10.8, 1.11.10, 2.0.11 | GHSA-jfh8-c2jp-5v3q |
Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.
Affected products
Apache Log4j2. NVD's record lists the exact affected versions.
References
- cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf Third Party Advisory
- cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf Third Party Advisory
- cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf Third Party Advisory
- cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf Third Party Advisory
- github.com/cisagov/log4j-affected-db Third Party Advisory
- github.com/cisagov/log4j-affected-db/blob/develop/SOFTWARE-LIST.md Broken LinkProductUS Government Resource
- github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-44228 ExploitThird Party Advisory
- lists.debian.org/debian-lts-announce/2021/12/msg00007.html Mailing ListThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5CSVUNV4HWZZXGOKNSK6L7RPM7BOKIB/ Release Notes
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM/ Release Notes
- logging.apache.org/log4j/2.x/security.html Release NotesVendor Advisory
- msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/ PatchThird Party AdvisoryVendor Advisory
Questions
Is CVE-2021-44228 being exploited?
Yes. CISA added CVE-2021-44228 to its Known Exploited Vulnerabilities catalog on 2021-12-10, with a federal remediation due date of 2021-12-24. CISA lists it as used in ransomware campaigns.
How do I fix CVE-2021-44228?
Upgrade to a fixed version: org.apache.logging.log4j:log4j-core (Maven) 2.15.0 or 2.3.1 or 2.12.2; org.ops4j.pax.logging:pax-logging-log4j2 (Maven) 1.9.2 or 1.10.8 or 1.11.10 or 2.0.11. CISA's 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.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
Apache exploited vulnerabilities
Everything CISA lists as exploited for Apache.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.