CVE-2021-45046

CRITICALNVD 9.09.0
EchelonGraph scoreHIGH confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score elevated to 9.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2023-05-01), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.0 retained for reference. Confidence: HIGH.

Triggered by: CISA KEV (actively exploited)
Sources: CISA Known Exploited Vulnerabilities catalog, EPSS, GitHub Security Advisory, NVD CVSS v3
Exploited in the wild

Also known asEUVD-2021-34769 (ENISA EUVD) · GHSA-7rjr-3q55-vv33 (GitHub Security Advisories)Source: ENISA EUVD

9.0EG
EchelonGraph verdictPatch nowTreat as an emergency — this is being exploited.
  • Actively exploited in the wild (CISA-KEV) — the reason this is sooner than the SSVC decision on this page at low or medium mission impact
CISA-KEV: ExploitedEPSS PROB: >99.9%CVSS: 9.0Exploit: Metasploit · other public PoCExposed services: Not assessed

A fix is available — apply it.

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.

CVSS v3
9.0
EG Score
9.0CRITICALhigh confidence
EG Risk
81
EG Risk 81/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity90% × 45%
Impact severity (EG Severity): CVSS 9.0 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation100% × 40%
Fixed at 100% for a CISA KEV listing: EchelonGraph's rule.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Attend at medium and Act at high mission impact.
Exploitation active (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low, sooner than that at medium and as soon as possible at high mission impact.
EPSS PROB
>99.9%
EPSS %ILE
99th
KEV
⚠ Exploited

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.0): severity, escalated by confirmed exploitation. This CVE's 9.0 is its impact severity (EG Severity), not escalated.

EG Severity
9.0 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
>99.9% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-23). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
CISA KEV and EG-KEV Tier 1 (exploited in the wild)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Attend at medium mission impactTrack at low, Attend at medium and Act at high mission impact.CISA BOD 26-04: 3 days & forensic triage if the affected system is publicly exposed; 14 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low, Attend at medium and Act at high mission impact.

A fix is available. Apply it within your standard update timelines at low, sooner than that at medium and as soon as possible at high mission impact.

Exploitation active (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days & forensic triage if the affected system is publicly exposed; 14 days if it is not.

The score's inputs: In CISA KEV yes (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

CISA required action“Apply updates per vendor instructions.”

Quoted verbatim from CISA's Known Exploited Vulnerabilities catalog. CISA directs it at US federal civilian executive branch agencies under Binding Operational Directive (BOD) 26-04, which replaced BOD 22-01 on 10 June 2026; it is not EchelonGraph's advice. CISA's notes: https://logging.apache.org/log4j/2.x/security.html · https://nvd.nist.gov/vuln/detail/CVE-2021-45046

Source timeline

Each source's own date for this CVE, as that source states it, in UTC. For vendor and authority advisories, each publisher's earliest advisory is shown, for at most 12 publishers, and only for publishers whose advisory dates we hold as the publisher's own publication time. The EchelonGraph column shows when our collectors recorded the event, only where that was within 72 hours of the source's date (for a row without one, of the CVE's publication).

SourceEventSource's dateRecorded by EchelonGraphLink
Red Hat Product Security© Red Hat, Inc. (CC BY 4.0)LicenceVendor advisory publishedRHSA-2021:509414 Dec 2021, 05:50 UTCrecorded later, in a bulk import or a late collectionRed Hat Product Security advisory
CVE.orgMITRE · CVE ProgramCVE Record published14 Dec 2021, 16:55 UTCrecorded later, in a bulk import or a late collectionCVE.org record
GitHub Advisory DatabaseGitHub Advisory Database (CC BY 4.0)LicenceGitHub advisory publishedGHSA-7rjr-3q55-vv3314 Dec 2021, 18:01 UTCrecorded later, in a bulk import or a late collectionGitHub advisory
CISA KEVAdded to CISA's Known Exploited Vulnerabilities catalogCISA due date: 22 May 20231 May 2023recorded later, in a bulk import or a late collectionCISA KEV catalog
CVE.orgMITRE · CVE ProgramCVE Record last updated21 Oct 2025, 23:25 UTC—CVE.org record

Advisory Details (10)

Auto-updated Nov 23, 2026
⚠️ Actively exploited (CISA KEV, CISA Vulnrichment). Patch available.
Web pageMentions a patch (unverified)

Security :: Apache Logging Services

https://logging.apache.org/log4j/2.x/security.html
Web page

[SECURITY] Fedora 35 Update: log4j-2.17.0-1.fc35 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIG7FZULMNK2XF6FZRU4VWYDQXNMUGAJ/
Web page

[SECURITY] Fedora 34 Update: log4j-2.17.0-1.fc34 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY/
Web page

oss-security - Re: CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack

http://www.openwall.com/lists/oss-security/2021/12/18/1
Web page

oss-security - Re: CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack

http://www.openwall.com/lists/oss-security/2021/12/15/3
Web page

oss-security - CVE-2021-45046: Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack

http://www.openwall.com/lists/oss-security/2021/12/14/4

Patch Availability(27)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntuliblog4j2-java (2.16.0-0.21.10.1) @ impish2026-11-23ubuntu
redhateap7-wildfly-0:7.1.9-2.GA_redhat_00002.1.ep7.el72025-02-24redhat
redhateap7-wildfly-0:7.3.12-3.GA_redhat_00002.1.el7eap2025-02-24redhat
redhatorg.apache.logging.log4j/log4j-api:2.17.1.redhat-000012022-04-11redhat
redhateap7-log4j-0:2.17.1-1.redhat_00001.1.el7eap2022-04-11redhat
redhateap7-log4j-0:2.17.1-1.redhat_00001.1.el8eap2022-04-11redhat
redhatlog4j-core2022-01-20redhat
redhatpatch2022-01-20redhat
redhatpatch2022-01-13redhat
redhatopenshift4/ose-metering-presto:v4.6.0-202112150545.p0.g190688a.assembly.art35952021-12-16redhat
redhatopenshift4/ose-metering-hive:v4.6.0-202112140546.p0.g8b9da97.assembly.stream2021-12-16redhat
redhatopenshift4/ose-metering-presto:v4.7.0-202112150631.p0.gd502108.assembly.4.7.402021-12-16redhat
redhatopenshift4/ose-metering-presto:v4.8.0-202112150431.p0.g4b934ae.assembly.art35992021-12-15redhat
redhatorg.apache.logging.log4j/log4j-api:2.17.1.redhat-000022021-12-15redhat
redhatopenshift3/ose-logging-elasticsearch5:v3.11.570-2.gd1198202021-12-14redhat
redhatopenshift4/ose-metering-hive:v4.8.0-202112132154.p0.g57dd03a.assembly.stream2021-12-14redhat
redhatopenshift-logging/elasticsearch6-rhel8:v5.0.10-12021-12-14redhat
redhatopenshift-logging/elasticsearch6-rhel8:v6.8.1-672021-12-14redhat
redhatopenshift-logging/elasticsearch6-rhel8:v6.8.1-652021-12-14redhat
redhatopenshift-logging/elasticsearch6-rhel8:v6.8.1-662021-12-14redhat
mavenorg.apache.logging.log4j:log4j-core @ 2.12.2 (fixes >= 2.4.0, < 2.12.2)—ghsa
mavenorg.apache.logging.log4j:log4j-core @ 2.3.1 (fixes < 2.3.1)—ghsa
mavenorg.apache.logging.log4j:log4j-core @ 2.16.0 (fixes >= 2.13.0, < 2.16.0)—ghsa
mavenorg.ops4j.pax.logging:pax-logging-log4j2 @ 1.9.2 (fixes >= 1.8.0, < 1.9.2)—ghsa
mavenorg.ops4j.pax.logging:pax-logging-log4j2 @ 2.0.12 (fixes >= 2.0.0, < 2.0.12)—ghsa
mavenorg.ops4j.pax.logging:pax-logging-log4j2 @ 1.11.11 (fixes >= 1.11.0, < 1.11.11)—ghsa
mavenorg.ops4j.pax.logging:pax-logging-log4j2 @ 1.10.8 (fixes >= 1.10.0, < 1.10.8)—ghsa

These rows come from Ubuntu, Red Hat and GitHub (GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(7 across 6 ecosystems)
Maven(2)
PackageVulnerable rangeFix by version rangeDependents
org.apache.logging.log4j:log4j-core2.0 ... 2.3 (19 versions)
  • 2.13.0 up to 2.16.0: fixed in 2.16.0
  • 2.4.0 up to 2.12.2: fixed in 2.12.2
  • every version up to 2.3.1: fixed in 2.3.1
—
org.ops4j.pax.logging:pax-logging-log4j22.0.0 ... 2.0.9 (12 versions)
  • 1.8.0 up to 1.9.2: fixed in 1.9.2
  • 1.10.0 up to 1.10.8: fixed in 1.10.8
  • 1.11.0 up to 1.11.11: fixed in 1.11.11
  • 2.0.0 up to 2.0.12: fixed in 2.0.12
—
Debian:10(1)
PackageVulnerable rangeFix by version rangeDependents
apache-log4j22.11.1-2 ... 2.15.0-1~deb11u1 (6 versions)
  • every version up to 2.16.0-1~deb10u1: fixed in 2.16.0-1~deb10u1
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
apache-log4j22.13.3-1, 2.15.0-1, 2.15.0-1~deb10u1, 2.15.0-1~deb11u1, 2.16.0-1~deb10u1
  • every version up to 2.16.0-1~deb11u1: fixed in 2.16.0-1~deb11u1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
apache-log4j2—
  • every version up to 2.16.0-1: fixed in 2.16.0-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
apache-log4j2—
  • every version up to 2.16.0-1: fixed in 2.16.0-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
apache-log4j2—
  • every version up to 2.16.0-1: fixed in 2.16.0-1
—

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(4)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

Data refresh records for this CVE are temporarily unavailable — they could not be loaded just now. That is not a sign that none exist; please retry shortly.

Publicly available exploits

(7 references)

Public exploit code is referenced for this CVE (1 Metasploit module, 3 GitHub PoCs), as are 1 Nuclei detection template, 2 GitHub checker repositories. A detection template checks whether a system is affected; it is not necessarily exploit code. A GitHub repository named or described as a checker or scanner checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.

GitHub repositories: 4 of 5 labelled (1 exploit code, 1 detection tool, 2 with no code files when read).

  • Metasploitauxiliary/scanner/http/log4shell_scanner✓ verified
    Published Dec 16, 2021

    Log4Shell HTTP Scanner

    Open source ↗
  • GitHub repositoryifconfig-me/Log4Shell-PayloadsNo code files in the default branch when read on 2026-11-23
    Published Jul 23, 2025

    Log4Shell / Log4J Payload - CVE-2021-45046 and CVE-2022-42889

    Open source ↗
  • Nucleihttp/cves/2021/CVE-2021-45046.yaml
    Published Dec 23, 2021

    Apache Log4j2 - Remote Code Injection

    Open source ↗
  • GitHub checkerlijiejie/log4j2_vul_local_scannerDetection tool (read on 2026-11-23)
    Published Dec 20, 2021

    Log4j 漏洞本地检测脚本。 Scan all java processes on your host to check whether it's affected by log4j2 remote code execution vulnerability (CVE-2021-45046)

    Open source ↗
  • GitHub checkermergebase/log4j-samples
    Published Dec 16, 2021

    Public testing data. Samples of log4j library versions to help log4j scanners / detectors improve their accuracy for detecting CVE-2021-45046 and CVE-2021-44228. TAG_TESTING, OWNER_KEN, DC_PUBLIC

    Open source ↗
  • GitHub repositoryBobTheShoplifter/CVE-2021-45046-InfoNo code files in the default branch when read on 2026-11-23
    Published Dec 15, 2021

    Oh no another one

    Open source ↗
  • GitHub PoCcckuailong/Log4j_CVE-2021-45046Exploit code (read on 2026-11-23)
    Published Dec 15, 2021

    Log4j 2.15.0 Privilege Escalation -- CVE-2021-45046

    Open source ↗

Labels marked on GitHub repositories are EchelonGraph's. Gemini (Google Vertex AI) and Claude (Anthropic) read each repository's description, the first 6,000 bytes of its README and up to 200 paths of its file list; where they do not give the same label with every check passing, or the repository's text uses words of both kinds, a second Claude model is asked once. These labels are shown only where at least two of these models gave them (all three where the text uses words of both kinds) and every quote and file those models cited was found in the repository (rule poc-kind-verifier-v4). Each label shows the day its repository was read; it is read again only when those checks change, and is taken down if it no longer passes them. Repository content belongs to its authors.

"No code files in the default branch" is read from the repository's complete file list on GitHub, on the day shown; no model is used for it. The file list is read again every 7 days, and the label is shown only while a reading within the last 14 days still finds no code files.

Past incidents using this CVE

(1)

This CVE was central to one or more publicly-documented breaches. Each card links to authoritative reporting at the time of the incident.

  • Log4Shell (Apache Log4j)Dec 2021

    JNDI lookup injection in Log4j, a ubiquitous Java logging library. Pre-auth unauthenticated RCE; Apache Foundation called it the worst vulnerability in a decade. Active exploitation continues 3+ years later.

    Source: Wired

Frequently asked(6)

What is CVE-2021-45046?
CVE-2021-45046 is a critical-severity vulnerability; its CVE record was published on December 14, 2021. 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…
When was the CVE record for CVE-2021-45046 published?
The CVE record for CVE-2021-45046 was published on December 14, 2021. That is the record's publication date; the vulnerability itself may have been made public earlier. CVE.org's record carries a last-updated date of October 21, 2025; it may have been updated since EchelonGraph last read it.
Is CVE-2021-45046 actively exploited?
Yes. CISA added CVE-2021-45046 to the Known Exploited Vulnerabilities catalog on May 1, 2023, affecting Apache Log4j2. KEV listing indicates confirmed exploitation in the wild; this CVE warrants immediate attention. A fix is available. Apply it.
What is the CVSS score of CVE-2021-45046?
CVE-2021-45046 has a CVSS v3 base score of 9.0 (NVD).
Which products are affected by CVE-2021-45046?
CVE-2021-45046 affects Apache Log4j2. The affected packages EchelonGraph has on record, with version ranges, are listed in the Affected Packages section of this page.
How do I remediate CVE-2021-45046?
A fix for CVE-2021-45046 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2021-45046 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-45046

Explore →

Is Your Infrastructure Affected by CVE-2021-45046?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.