Remote code execution via attacker-controlled JNDI lookups
Published Dec 10, 2021 · Updated Oct 21, 2025
Remote code execution in Apache Log4j 2's log4j-core allows remote attackers to run arbitrary code through crafted log data. The message-lookup path resolves attacker-controlled JNDI references through LDAP and loads code returned by the attacker's endpoint. Exploitation requires an application using an affected log4j-core release to log attacker-controlled text while message lookup substitution is enabled.
Summary
What happened
Remote code execution in Apache Log4j 2's log4j-core allows remote attackers to run arbitrary code through crafted log data. The message-lookup path resolves attacker-controlled JNDI references through LDAP and loads code returned by the attacker's endpoint. Exploitation requires an application using an affected log4j-core release to log attacker-controlled text while message lookup substitution is enabled.
The record
- CVE
- CVE-2021-44228
- Published
- Dec 10, 2021
- Updated
- Oct 21, 2025
- Vendor
- Apache Software Foundation
- Product
- Apache Log4j 2
- Classifications
- CWE-502, CWE-917, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 1, 2021Exploitation reportedActive Log4Shell exploitation and widespread scanning
- Dec 10, 2021CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0-beta9 <log4j-core* changes=[{"at":"2.3.1","status":"unaffected"},{"at":"2.4","status":"affected"},{"at":"2.12.2","status":"unaffected"},{"at":"2.13.0","status":"affected"},{"at":"2.15.0","status":"unaffected"}]
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 10, 2026 | 45 |
| Sep 11, 2026 | 41 |
| Sep 12, 2026 | 35 |
| Sep 13, 2026 | 36 |
| Sep 14, 2026 | 32 |
| Sep 15, 2026 | 27 |
| Sep 16, 2026 | 68 |
Weakness, pattern, technique
Public exploit references
- CVE-2021-44228-Apache-Log4j-Rcefunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Active Log4Shell exploitation and widespread scanningreported exploitation
- Iranian government-sponsored exploitation of Log4Shellthreat actor
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo