Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
CISA KEV·Added 2021-12-10 — agencies required to remediate by 2021-12-24 · Ransomware
Maven

GHSA-jfh8-c2jp-5v3q

CRITICAL

Remote code injection in Log4j

Also known asCVE-2021-44228
Published
Dec 10, 2021
Updated
Oct 22, 2025
Affected
10 pkgs
Patched
7 / 10
Exploits
379 known

EPSS Exploitation Probability

via FIRST.org ↗
94.4%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
93.9%94.2%94.5%94.9%94.4%94.4%Dec 25Apr 26Jun 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

10 pkgs affected
org.apache.logging.log4j:log4j-coreorg.apache.logging.log4j:log4j-coreorg.apache.logging.log4j:log4j-corecom.guicedee.services:log4j-coreorg.xbib.elasticsearch:log4juk.co.nichesolutions.logging.log4j:log4j-coreorg.ops4j.pax.logging:pax-logging-log4j2org.ops4j.pax.logging:pax-logging-log4j2+2 more

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

Summary

Log4j versions prior to 2.16.0 are subject to a remote code execution vulnerability via the ldap JNDI parser. As per Apache's Log4j security guide: Apache Log4j2 <=2.14.1 JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.16.0, this behavior has been disabled by default.

Log4j version 2.15.0 contained an earlier fix for the vulnerability, but that patch did not disable attacker-controlled JNDI lookups in all situations. For more information, see the Updated advice for version 2.16.0 section of this advisory.

Impact

Logging untrusted or user controlled data with a vulnerable version of Log4J may result in Remote Code Execution (RCE) against your application. This includes untrusted data included in logged errors such as exception traces, authentication failures, and other unexpected vectors of user controlled input.

Affected versions

Any Log4J version prior to v2.15.0 is affected to this specific issue.

The v1 branch of Log4J which is considered End Of Life (EOL) is vulnerable to other RCE vectors so the recommendation is to still update to 2.16.0 where possible.

Security releases

Additional backports of this fix have been made available in versions 2.3.1, 2.12.2, and 2.12.3

Affected packages

Only the org.apache.logging.log4j:log4j-core package is directly affected by this vulnerability. The org.apache.logging.log4j:log4j-api should be kept at the same version as the org.apache.logging.log4j:log4j-core package to ensure compatability if in use.

Remediation Advice

Updated advice for version 2.16.0

The Apache Logging Services team provided updated mitigation advice upon the release of version 2.16.0, which disables JNDI by default and completely removes support for message lookups. Even in version 2.15.0, lookups used in layouts to provide specific pieces of context information will still recursively resolve, possibly triggering JNDI lookups. This problem is being tracked as CVE-2021-45046. More information is available on the GitHub Security Advisory for CVE-2021-45046.

Users who want to avoid attacker-controlled JNDI lookups but cannot upgrade to 2.16.0 must ensure that no such lookups resolve to attacker-provided data and ensure that the the JndiLookup class is not loaded.

Please note that Log4J v1 is End Of Life (EOL) and will not receive patches for this issue. Log4J v1 is also vulnerable to other RCE vectors and we recommend you migrate to Log4J 2.16.0 where possible.

Affected Packages

10 total 7 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.apache.logging.log4j:log4j-core2.13.0&&< 2.15.02.15.0
Mavenorg.apache.logging.log4j:log4j-core2.0-beta9&&< 2.3.12.3.1
Mavenorg.apache.logging.log4j:log4j-core2.4&&< 2.12.22.12.2
Mavencom.guicedee.services:log4j-coreall versionsNo fix
Mavenorg.xbib.elasticsearch:log4jall versionsNo fix
Mavenuk.co.nichesolutions.logging.log4j:log4j-coreall versionsNo fix
Exploits & PoCs
379

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

EDB-51183remotejava

AD Manager Plus 7122 - Remote Code Execution (RCE)

by Chan Nyein Wai · Apr 1, 2023

EDB-50592remotejava

Apache Log4j 2 - Remote Code Execution (RCE)

by kozmer · Dec 14, 2021

EDB-50590remotejava

Apache Log4j2 2.14.1 - Information Disclosure

by leonjza · Dec 14, 2021

Frequently Asked Questions

# Summary Log4j versions prior to 2.16.0 are subject to a remote code execution vulnerability via the ldap JNDI parser. As per [Apache's Log4j security guide](https://logging.apache.org/log4j/2.x/security.html): Apache Log4j2 <=2.14.1 JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.16.0, this behavior has been disabled b
O3 Security · Impact-Aware SCA

Is GHSA-jfh8-c2jp-5v3q in your stack?

O3 detects GHSA-jfh8-c2jp-5v3q across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.