CVE-2021-45046 · NVD published 14 Dec 2021
Apache Log4j2
On CISA's KEV list 503 days after disclosure; 8 public exploits.
It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.
CISA required action (federal due date 22 May 2023): Apply updates per vendor instructions.
Signals
- KEV, exploited in the wild
- yes, added 1 May 2023, due 22 May 2023, known ransomware use
- EPSS, 30-day forecast
- 100%, 100th percentile (as of 18 Nov 2026)
- CVSS, NVD, CRITICAL
- 9.0
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Internet exposure
- not stated
KEV is an observation, EPSS a forecast; KEV outranks it.
Timeline 14 Dec 2021 to today
- Disclosed
- Metasploit+1 d
- KEV+502 d
502 days from the Metasploit module to the KEV listing
Detect it 3 rules · Sigma · QRadar · Cortex
- CVE-2021-44228 / CVE-2021-45046 exploitation attemptSIGAQLXQLT1190conf 90CVE exploitation, high
CVE-2021-44228 · CVE-2021-45046 · APT35 · APT41 · BRONZE STARLIGHT · Sea Turtle · Water Sigbin
Generated by skopnix from this finding, each with false-positive notes. Open the list →
Linked 3 in our graph
Rules that detect it
Links our graph holds for this CVE, strongest first. The same data is in the graph API.
Indicators none tied yet
No threat feed has tied an indicator to this CVE yet. Checked every six hours.
On the wire 0 dispatches
No dispatch on our wire has named this CVE yet.
Public exploit code 8 known · links only
GitHub PoCs 7Metasploit 1Exploit-DB 0
GitHub PoCs, by trust then stars7
- BobTheShoplifter/CVE-2021-45046-InfoNot checked
first seen by skopnix 18 Oct 2026
- cckuailong/Log4j_CVE-2021-45046Not checked
first seen by skopnix 18 Oct 2026
- ludy-dev/cve-2021-45046Not checked
first seen by skopnix 18 Oct 2026
- pravin-pp/log4j2-CVE-2021-45046Not checked
first seen by skopnix 18 Oct 2026
- shaily29-eng/CyberSecurity_CVE-2021-45046Not checked
first seen by skopnix 18 Oct 2026
- tejas-nagchandi/CVE-2021-45046Not checked
first seen by skopnix 18 Oct 2026
- thedevappsecguy/Log4J-Mitigation-CVE-2021-44228--CVE-2021-45046--CVE-2021-45105--CVE-2021-44832Not checked
first seen by skopnix 18 Oct 2026
Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.
Metasploit1
Versions of Apache Log4j2 impacted by CVE-2021-44228 which allow JNDI features used in configuration, log messages, and parameters, do not protect against attacker controlled LDAP and other JNDI related endpoints. This module will scan an HTTP end point for the Log4Shell vulnerability by injecting a format message that will trigger an LDAP connection to Metasploit. This module is a generic scanner and is only capable of identifying instances that are vulnerable v
ruby · first seen by skopnix 18 Oct 2026
Nuclei detection templates1
Apache Log4j2 Thread Context Lookup Pattern is vulnerable to remote code execution in certain non-default configurations.
yaml · first seen by skopnix 18 Oct 2026
A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.
References
Watch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.