CVE-2021-45046

CRITICALNVD 9.09.0
EchelonGraph scoreHIGH confidence

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_kev, epss, nvd
Trending — 3 sources updated this weekExploited in the wild
9.0
EchelonGraph verdictPatch nowTreat as an emergency — this is being exploited.
  • Actively exploited in the wild (CISA-KEV)
CISA-KEV: ExploitedEPSS: 100%CVSS: 9.0Exploit: NoneExposed: 0

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.0(high)
EPSS
100.0%
KEV
⚠ Exploited

Published

December 14, 2021

Last Modified

June 17, 2026

Advisory Details (6)

Auto-updated Jun 2, 2026
No patch confirmed yet.
generic

Security :: Apache Logging Services

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

[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/
generic

[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/
generic

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
generic

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
generic

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(18)

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(2 across 1 ecosystem)
Maven(2)
PackageVulnerable rangeFixed inDependents
org.apache.logging.log4j:log4j-core2.0 ... 2.9.1 (39 versions)2.12.2
org.ops4j.pax.logging:pax-logging-log4j22.0.0 ... 2.0.9 (12 versions)2.0.12

Weakness Classification(1)

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

Additional Vendor Advisories

(3)

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

(refreshed 43× in last 7d / 186× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 337 total refreshes for this CVE.

  1. 2026-07-22 19:40 UTCCISA KEV update
  2. 2026-07-22 18:02 UTCVendor advisory
  3. 2026-07-22 13:47 UTCVendor advisory
  4. 2026-07-22 09:35 UTCVendor advisory
  5. 2026-07-22 05:23 UTCVendor advisory
  6. 2026-07-22 01:10 UTCVendor advisory
  7. 2026-07-21 20:56 UTCVendor advisory
  8. 2026-07-21 16:41 UTCVendor advisory
  9. 2026-07-21 14:37 UTCCISA KEV update
  10. 2026-07-21 12:29 UTCVendor advisory
  11. 2026-07-21 08:16 UTCVendor advisory
  12. 2026-07-21 04:04 UTCVendor advisory
  13. 2026-07-20 23:51 UTCVendor advisory
  14. 2026-07-20 19:39 UTCVendor advisory
  15. 2026-07-20 15:27 UTCVendor advisory
  16. 2026-07-20 11:12 UTCVendor advisory
  17. 2026-07-20 06:59 UTCVendor advisory
  18. 2026-07-20 02:47 UTCVendor advisory
  19. 2026-07-19 22:34 UTCVendor advisory
  20. 2026-07-19 18:22 UTCVendor advisory
  21. 2026-07-19 14:10 UTCVendor advisory
  22. 2026-07-19 09:58 UTCVendor advisory
  23. 2026-07-19 05:45 UTCVendor advisory
  24. 2026-07-19 01:32 UTCVendor advisory
  25. 2026-07-18 21:20 UTCVendor advisory
Show 75 more
  1. 2026-07-18 17:04 UTCVendor advisory
  2. 2026-07-18 12:52 UTCVendor advisory
  3. 2026-07-18 08:38 UTCVendor advisory
  4. 2026-07-18 04:26 UTCVendor advisory
  5. 2026-07-18 00:14 UTCVendor advisory
  6. 2026-07-17 20:01 UTCVendor advisory
  7. 2026-07-17 15:49 UTCVendor advisory
  8. 2026-07-17 07:24 UTCEG score recompute
  9. 2026-07-17 07:24 UTCVendor advisory
  10. 2026-07-17 03:11 UTCVendor advisory
  11. 2026-07-16 22:59 UTCVendor advisory
  12. 2026-07-16 18:47 UTCVendor advisory
  13. 2026-07-16 17:04 UTCCISA KEV update
  14. 2026-07-16 14:34 UTCVendor advisory
  15. 2026-07-16 10:22 UTCVendor advisory
  16. 2026-07-16 06:10 UTCVendor advisory
  17. 2026-07-16 01:56 UTCVendor advisory
  18. 2026-07-15 21:43 UTCVendor advisory
  19. 2026-07-15 17:30 UTCVendor advisory
  20. 2026-07-15 16:49 UTCCISA KEV update
  21. 2026-07-15 15:04 UTCCISA KEV update
  22. 2026-07-15 13:16 UTCVendor advisory
  23. 2026-07-15 09:03 UTCVendor advisory
  24. 2026-07-15 04:51 UTCVendor advisory
  25. 2026-07-15 01:58 UTCEPSS rescore
  26. 2026-07-15 00:38 UTCVendor advisory
  27. 2026-07-14 20:24 UTCVendor advisory
  28. 2026-07-14 18:05 UTCCISA KEV update
  29. 2026-07-14 16:11 UTCVendor advisory
  30. 2026-07-14 11:59 UTCVendor advisory
  31. 2026-07-14 07:45 UTCVendor advisory
  32. 2026-07-14 03:32 UTCVendor advisory
  33. 2026-07-13 23:20 UTCVendor advisory
  34. 2026-07-13 19:08 UTCVendor advisory
  35. 2026-07-13 17:07 UTCCISA KEV update
  36. 2026-07-13 14:56 UTCVendor advisory
  37. 2026-07-13 10:44 UTCVendor advisory
  38. 2026-07-13 06:32 UTCVendor advisory
  39. 2026-07-13 02:17 UTCVendor advisory
  40. 2026-07-12 22:05 UTCVendor advisory
  41. 2026-07-12 17:52 UTCVendor advisory
  42. 2026-07-12 13:39 UTCVendor advisory
  43. 2026-07-12 09:26 UTCVendor advisory
  44. 2026-07-12 05:13 UTCVendor advisory
  45. 2026-07-12 01:01 UTCVendor advisory
  46. 2026-07-11 20:49 UTCVendor advisory
  47. 2026-07-11 16:37 UTCVendor advisory
  48. 2026-07-11 12:25 UTCVendor advisory
  49. 2026-07-11 08:12 UTCVendor advisory
  50. 2026-07-11 04:00 UTCVendor advisory
  51. 2026-07-10 23:48 UTCVendor advisory
  52. 2026-07-10 19:35 UTCVendor advisory
  53. 2026-07-10 17:52 UTCCISA KEV update
  54. 2026-07-10 15:22 UTCVendor advisory
  55. 2026-07-10 11:08 UTCVendor advisory
  56. 2026-07-10 06:56 UTCVendor advisory
  57. 2026-07-10 02:43 UTCVendor advisory
  58. 2026-07-09 22:30 UTCVendor advisory
  59. 2026-07-09 19:07 UTCEPSS rescore
  60. 2026-07-09 18:18 UTCVendor advisory
  61. 2026-07-09 14:06 UTCVendor advisory
  62. 2026-07-09 09:54 UTCVendor advisory
  63. 2026-07-09 05:42 UTCVendor advisory
  64. 2026-07-09 01:30 UTCVendor advisory
  65. 2026-07-08 21:17 UTCVendor advisory
  66. 2026-07-08 17:03 UTCVendor advisory
  67. 2026-07-08 12:51 UTCVendor advisory
  68. 2026-07-08 08:39 UTCVendor advisory
  69. 2026-07-08 04:25 UTCVendor advisory
  70. 2026-07-08 00:11 UTCVendor advisory
  71. 2026-07-07 19:58 UTCVendor advisory
  72. 2026-07-07 19:01 UTCCISA KEV update
  73. 2026-07-07 17:16 UTCCISA KEV update
  74. 2026-07-07 15:45 UTCVendor advisory
  75. 2026-07-07 11:32 UTCVendor advisory

Publicly available exploits

(7 references)

Working exploit code is in the public domain (1 Metasploit module) (5 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCifconfig-me/Log4Shell-Payloads
    First seen Jul 23, 2025

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

    Open source ↗
  • GitHub PoClijiejie/log4j2_vul_local_scanner
    First seen 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 PoCmergebase/log4j-samples
    First seen 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 PoCcckuailong/Log4j_CVE-2021-45046
    First seen Dec 15, 2021

    Log4j 2.15.0 Privilege Escalation -- CVE-2021-45046

    Open source ↗
  • GitHub PoCBobTheShoplifter/CVE-2021-45046-Info
    First seen Dec 15, 2021

    Oh no another one

    Open source ↗
  • Metasploitauxiliary/scanner/http/log4shell_scanner✓ verified
    First seen Dec 9, 2021

    Log4Shell HTTP Scanner

    Open source ↗
  • Nucleihttp/cves/2021/CVE-2021-45046.yaml
    First seen Jan 1, 2021

    Apache Log4j2 - Remote Code Injection

    Open source ↗

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 vulnerability 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 CVE-2021-45046 disclosed?
CVE-2021-45046 was first published in the National Vulnerability Database on December 14, 2021, with the most recent update on June 17, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
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 patching attention.
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 full affected-products list, including version ranges and fixed versions, is shown in the Affected Packages section of this page.
How do I remediate CVE-2021-45046?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2021-45046, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

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.