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 — 4 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

October 27, 2025

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 84× in last 7d / 353× 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 502 total refreshes for this CVE.

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