Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
CISA KEV·Added 2023-05-01 — agencies required to remediate by 2023-05-22 · Ransomware
Maven

CVE-2021-45046

CRITICAL

Incomplete fix for Apache Log4j vulnerability

Also known asGHSA-7rjr-3q55-vv33
Published
Dec 14, 2021
Updated
Jul 8, 2026
Affected
6 pkgs
Patched
6 / 6
Exploits
13 known

EPSS Exploitation Probability

via FIRST.org ↗
100.0%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
92.6%95.1%97.5%100.0%94.3%100.0%Jan 26May 26Jul 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

6 pkgs affected
org.apache.logging.log4j:log4j-coreorg.apache.logging.log4j:log4j-coreorg.ops4j.pax.logging:pax-logging-log4j2org.ops4j.pax.logging:pax-logging-log4j2org.ops4j.pax.logging:pax-logging-log4j2org.ops4j.pax.logging:pax-logging-log4j2

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.apache.logging.log4j:log4j-core2.13.0&&< 2.16.02.16.0
Mavenorg.apache.logging.log4j:log4j-coreall versions2.12.2
Mavenorg.ops4j.pax.logging:pax-logging-log4j21.8.0&&< 1.9.21.9.2
Mavenorg.ops4j.pax.logging:pax-logging-log4j21.10.0&&< 1.10.81.10.8
Mavenorg.ops4j.pax.logging:pax-logging-log4j21.11.0&&< 1.11.111.11.11
Mavenorg.ops4j.pax.logging:pax-logging-log4j22.0.0&&< 2.0.122.0.12
Exploits & PoCs
13

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.logging.log4j:log4j-core. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.apache.logging.log4j:log4j-core to 2.16.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-45046 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether CVE-2021-45046 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to CVE-2021-45046. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-45046 in your dependencies?

O3 detects CVE-2021-45046 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.