CVE-2021-45046
Description
Apache Log4j2 contains a deserialization of untrusted data vulnerability due to the incomplete fix of CVE-2021-44228, where the Thread Context Lookup Pattern is vulnerable to remote code execution in certain non-default configurations.
CISA KEV
- Vendor
- Apache
- Product
- Log4j2
- Due date
- 2023-05-22
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Metasploit modules
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.16.0-1 |
| sid | Fixed | 2.16.0-1 |
| forky | Fixed | 2.16.0-1 |
| bullseye | Fixed | 2.16.0-1~deb11u1 |
| bookworm | Fixed | 2.16.0-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | org.apache.logging.log4j:log4j-core | >=2.13.0,<2.16.0 | 2.16.0 |
| Maven | org.apache.logging.log4j:log4j-core | <2.12.2 | 2.12.2 |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | >=1.8.0,<1.9.2 | 1.9.2 |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | >=1.10.0,<1.10.8 | 1.10.8 |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | >=1.11.0,<1.11.11 | 1.11.11 |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | >=2.0.0,<2.0.12 | 2.0.12 |
References
- https://security-tracker.debian.org/tracker/CVE-2021-45046
- https://www.suse.com/security/cve/CVE-2021-45046.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-45046
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/alert-cve-2021-44228.html
- https://www.openwall.com/lists/oss-security/2021/12/14/4
- https://www.kb.cert.org/vuls/id/930724
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html
- https://www.debian.org/security/2021/dsa-5022
- https://www.cve.org/CVERecord?id=CVE-2021-44228
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-45046
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- https://security.gentoo.org/glsa/202310-16
- https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032
- https://logging.apache.org/log4j/2.x/security.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SIG7FZULMNK2XF6FZRU4VWYDQXNMUGAJ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIG7FZULMNK2XF6FZRU4VWYDQXNMUGAJ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY
- https://github.com/advisories/GHSA-jfh8-c2jp-5v3q
- https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.