CVE-2021-45046
CVE-2021-45046 — Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack
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.
Published Updated Sources: NVD, Apache Software Foundation (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed May 1, 2023
EPSS
100%
top of FIRST's scoreset
CVSS base
9.0
critical · 3 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade org.apache.logging.log4j:log4j-core to 2.16.0 or later (maven advisory GHSA-7rjr-3q55-vv33).
CISA required action
Apply updates per vendor instructions.
Federal deadline May 22, 2023 — passed 1,292 days ago
Red Hat VEX · CVE-2021-45046
vendor_fix: Before applying this update, ensure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications,…
vendor_fix: Before applying this update, ensure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications,…
vendor_fix: Before applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. For details on how to apply this update, w…
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Apache Log4j | Apache Log4j2 to < 2.16.0 | Vulnerable |
| Maven | org.apache.logging.log4j:log4j-core | >= 2.13.0, < 2.16.0 | Vulnerable |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | >= 1.8.0, < 1.9.2 | Vulnerable |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | >= 1.10.0, < 1.10.8 | Vulnerable |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | >= 1.11.0, < 1.11.11 | Vulnerable |
| Maven | org.ops4j.pax.logging:pax-logging-log4j2 | >= 2.0.0, < 2.0.12 | Vulnerable |
| Maven | org.apache.logging.log4j:log4j-core | >= 2.4.0, < 2.12.2 | Vulnerable |
| Maven | org.apache.logging.log4j:log4j-core | < 2.3.1 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Changed
Attack Complexity
High
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.0 | CVSS 3.1 | critical | 2.2 | 6 | NVD, CNA, GHSA |
| 5.1 | CVSS 2.0 | medium | 4.9 | 6.4 | NVD |
| 8.1 | CVSS 3.1 | high | n/a | n/a | Red Hat (VEX) |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-917 · Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
- Read Application Data
- Execute Unauthorized Code or Commands::
Weakness & attack patterns
- CWE-917Expression Language Injection
- CWE-502Deserialization of Untrusted Data
Inferred from the weakness class — not observed against this CVE.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
May 1, 2023
Federal deadline
May 22, 2023
passed 1,292 days ago
Ransomware use
Known
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
455
1 of the 5 sampled are weaponized
Exploit entries
22
Exploit-DB and CTI exploit indexes
Malware
Families a CTI source ties to this CVE. One named, with the total it tracks.
Families tracked
9
Named
avos_locker
elf.avoslocker, Avoslocker, win.avos_locker
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
Caveat, because it's load-bearing: this is for a non-default PatternLayout carrying a Thread Context Lookup ($${ctx:loginId}), the config CVE-2021-45046 names. Under the stock %m%n pattern the answer differs. Different config, different case.
@safeguardian_io· Aug 27, 2026
3/ CVE-2021-45046, a vulnerability in Log4j, highlighted the importance of cloud security hygiene. Regular audits and patching are crucial. #CyberSecurity #InfoSec
@davidsheyi· Jan 3, 2026
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Apache Log4j, Org.apache.logging.log4j:log4j-core, Org.ops4j.pax.logging:pax-logging-log4j2.
- Monitor for scanner or exploit-pattern traffic after 477 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
1 more threat groups on this CVEShowing 5 of 6 · Attribution, campaigns and the malware each one runsUnlock free- hostnamemsupdate.top86
Kaspersky Public Requests · Sep 16, 2022
- hostnametcp443.org84
Cisco-Talos · May 13, 2022
- hostnamestudentsportal.live80
Maltiverse Domain List · Apr 12, 2022
- hostnamenotixow.com63
Maltrail Malware Feeds · Apr 8, 2022
- ip192.236.198.6353
Kaspersky Public Requests · May 16, 2022
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.0 (AV:N)
Jun 17, 2026 · NVD
- 2025
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
Bulletin released on NIST.
Mar 13, 2025 · SOCRadar CTI
Bulletin released on Mitre.
Feb 5, 2025 · SOCRadar CTI
- 2024
CVE is exploited. "pratik-dey/DockerPOCPerf"
Mar 20, 2024 · SOCRadar CTI
- 2023
Added to CISA KEV catalog
May 1, 2023 · CISA
- 2021
Initial · CVE published
Dec 14, 2021 · NVD
Added · GHSA-7rjr-3q55-vv33 published (critical)
Dec 14, 2021 · GitHub Security Advisory
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 11×Github ReposJan 31, 2024 – Oct 22, 2026 · SOCRadar CTI
- 6×TweetsJan 21, 2024 – Aug 28, 2026 · SOCRadar CTI
- 5×ModifiedJun 27, 2024 – Mar 12, 2025 · SOCRadar CTI
- 1×SVRS was changedSep 2, 2026 · SOCRadar CTI
References
41 on the record
- www.openwall.com/lists/oss-security/2021/12/14/4
Mailing List, Mitigation, Third Party Advisory, NIST, Mitre
- www.openwall.com/lists/oss-security/2021/12/15/3
Mailing List, Third Party Advisory, NIST, Mitre
- www.openwall.com/lists/oss-security/2021/12/18/1
Mailing List, Third Party Advisory, NIST, Mitre
- cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf
Third Party Advisory, NIST
- cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf
Third Party Advisory, NIST
- cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf
Third Party Advisory, NIST
- cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf
Third Party Advisory, NIST
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY/
Mailing List, Release Notes, NIST, Mitre
Coverage
2 stories from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2021-44228 Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpointsCVSS 10.0 · CISA KEV
- CVE-2026-20131 Cisco Secure Firewall Management Center Software Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-55182 Meta React Server Components Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2022-22947 VMware Spring Cloud Gateway Code Injection VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-115731 Report Deserialization Code ExecutionCVSS 9.9 · CISA KEV
- CVE-2025-24016 Wazuh Server Deserialization of Untrusted Data VulnerabilityCVSS 9.9 · CISA KEV
Elsewhere on this site
- Apacheevery CVE for this vendor
- Mavenevery CVE for this vendor
- Apache Log4jevery page on this product
- May 2023what else CISA listed
- Deserializationsame class
- CWE-917other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2021-45046 is Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack, a critical vulnerability affecting Apache Log4j, Org.apache.logging.log4j:log4j-core, Org.ops4j.pax.logging:pax-logging-log4j2 from Apache Software Foundation, Maven. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 477 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.