CVE
Log4Shell: Log4j remote code execution in JNDI lookups
Affects Apache Log4j2 from 2.0-beta9 before 2.15.0 when message lookup substitution is enabled and attackers control log messages. Fixed in 2.15.0, or 2.12.2 and 2.3.1 on older branches.
Written by anthropic/claude-sonnet-5.5 from the sources below. Verify against them.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Exploited
- Yes, on CISA KEV
- Fix
- Fixed in 2.3.1, 2.12.2, 2.15.0
- Who is exposed
- Not reported
Do first: Upgrade to a fixed version: 2.3.1, 2.12.2, 2.15.0.
- Last modified
- Whether it needs action now or is a reference record, by fixed rules, with why. Last checked is when cve.now last re-read it.What do these mean? →
- Reference
- Last checked
- FIRST's estimate of the chance attackers exploit it in the next 30 days, updated daily.What do these mean? →
- 100.0% · 100th percentile
- A 0-100 score for how much a CVE matters across the industry: exploitation, exposure, how widely the software is used, severity and whether a fix exists.What do these mean? →
- 92/100
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Actively exploited
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 3 on Exploit-DB, 5 Metasploit modules, 505 proofs of concept on GitHub, 1 Nuclei template
- Exploitation: active
- Automatable: yes
- Technical impact: total
Summary
Apache Log4j2's log4j-core library can be tricked into running arbitrary code loaded from an attacker-controlled LDAP server when the attacker can control log messages or their parameters and message lookup substitution is enabled. It can be reached remotely without logging in, public exploit code including a Metasploit module is available, and attacks are happening.
Original description
Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.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.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.
Who should check
Teams running Java apps or Linux distro packages (Debian, Fedora) that use Apache Log4j2 before 2.15.0, and Cisco products listed as vulnerable, with attacker-influenced log data.
“affecting all Log4j2 versions earlier than 2.15.0 was disclosed”
cve.now Index
- Exploitation40/40Listed in CISA's Known Exploited Vulnerabilities catalog
- Exposure25/25Actively exploited, CISA rates it automatable
- Reach17/20Affects Log4j (a widely deployed server, runtime, framework or database)
- Severity10/10CVSS 10.0, total technical impact per CISA
- No patch0/5No signal
Impact
- Widely used
“In fact, data from Sonatype as of February 16, 2022 indicates 39% of Log4j downloads are still versions vulnerable to Log4Shell.”Source: rapid7.com
3.6k stars on GitHub.Source: apache/logging-log4j2
241 packages depend on org.apache.logging.log4j:log4j-core.Source: deps.dev
What to do
Upgrade to a fixed version: 2.3.1, 2.12.2, 2.15.0.
Fix it by , CISA's deadline for US federal agencies.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2021-44228 (Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2021-44228 (entry last updated 2025-10-21):
Affected:
- Apache Software Foundation Apache Log4j2: from 2.0-beta9, fixed in 2.3.1; from 2.4, fixed in 2.12.2; from 2.13.0, fixed in 2.15.0
- Maven package org.apache.logging.log4j:log4j-core: from 2.13.0, fixed in 2.15.0
- Maven package org.apache.logging.log4j:log4j-core: from 2.0-beta9, fixed in 2.3.1
- Maven package org.apache.logging.log4j:log4j-core: from 2.4, fixed in 2.12.2
- Maven package com.guicedee.services:log4j-core: through 1.2.1.2-jre17
- Maven package org.xbib.elasticsearch:log4j: versions 6.3.2.1
- Maven package uk.co.nichesolutions.logging.log4j:log4j-core: versions 2.6.3-CUSTOM
- Maven package org.ops4j.pax.logging:pax-logging-log4j2: from 1.8.0, fixed in 1.9.2
- Maven package org.ops4j.pax.logging:pax-logging-log4j2: from 1.10.0, fixed in 1.10.8
- Maven package org.ops4j.pax.logging:pax-logging-log4j2: from 1.11.0, fixed in 1.11.10
- and 1 more affected products, listed on https://cve.now/CVE-2021-44228
Fixed versions: 2.3.1, 2.12.2, 2.15.0.
Conditions (all must be true for the bug to be hit):
- Attacker must be able to control log messages or log message parameters, with message lookup substitution enabled (Apache Log4j2 before 2.15.0) (source: https://lists.debian.org/debian-security-announce/2021/msg00206.html)
- Affects all Log4j2 versions earlier than 2.15.0 (source: https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2021-44228 is listed as known exploited (added 2021-12-10, remediation due 2021-12-24).
This KEV status is for CVE-2021-44228 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Maven): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd
- https://www.debian.org/security/2021/dsa-5020
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VU57UJDCFIASIO35GC55JMKSRXJMCDFM/
- https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/
- https://logging.apache.org/log4j/2.x/security.html
- http://www.openwall.com/lists/oss-security/2021/12/10/1
- http://www.openwall.com/lists/oss-security/2021/12/10/2
- http://www.openwall.com/lists/oss-security/2021/12/10/3
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2021-44228
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2021-44228"}.Public exploit activity
- GitHub PoC repos: 508
- EPSS: 100.0%
Since disclosure: the repos PoC-in-GitHub lists and FIRST's daily EPSS score.
Timeline
- CVE published
- Added to CISA KEV
CISA has evidence of exploitation in the wild
4 days - Public exploit on Exploit-DB
EDB-50592, EDB-50590, EDB-51183
10 days - CISA remediation deadline
Due date for US federal agencies to patch
1,138 days (about 3 years) - CISA SSVC assessment
Exploitation: active · Automatable: yes · Technical impact: total
259 days - Record last updated377 days (about 1 year)
- Exploit code on GitHub
ShyVictor/minecraft-rce-lab
Affected versions
- Apache Software Foundation Apache Log4j2
From 2.0-beta9 · fixed in 2.3.1; From 2.4 · fixed in 2.12.2; From 2.13.0 · fixed in 2.15.0
From 2.13.0 · fixed in 2.15.0
Fixed in 2.15.0 (released Dec 9, 2021, 1 day before disclosure).
From 2.0-beta9 · fixed in 2.3.1
Fixed in 2.3.1 (released Dec 21, 2021, 11 days after disclosure).
From 2.4 · fixed in 2.12.2
Fixed in 2.12.2 (released Dec 14, 2021, 4 days after disclosure).
The latest release, 2.26.1, is not affected.
through 1.2.1.2-jre17
Fixed in 1.2.2.1 (released Feb 9, 2022, 61 days after disclosure), the first release outside every affected range (no listed fixed version clears them all).
The latest release, 1.2.2.1-jre17, is not affected.
6.3.2.1
No fix released. The latest release, 6.3.2.1, is still affected.
2.6.3-CUSTOM
No fix released. The latest release, 2.6.3-CUSTOM, is still affected.
From 1.8.0 · fixed in 1.9.2
Fixed in 1.9.2 (released Jan 31, 2022, 52 days after disclosure).
From 1.10.0 · fixed in 1.10.8
Fixed in 1.10.8 (released Dec 19, 2021, 9 days after disclosure).
From 1.11.0 · fixed in 1.11.10
Fixed in 1.11.10 (released Dec 10, 2021, the day of disclosure).
From 2.0.0 · fixed in 2.0.11
Fixed in 2.0.11 (released Dec 10, 2021, the day of disclosure).
The latest release, 2.3.5, is not affected.
On X 6
Evidence 539
Vendor advisory · 1
Establishes: Affected and fixed versions.
- Link
CISA KEV · 1
Establishes: Exploitation in the wild, for this CVE only.
- Listing
Public exploit code · 518
Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub).
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Exploit
- Link
- Link
- Link
- Link
Write-ups · 6
Establishes: Technical detail and context.
- Link
- Link
- Link
- Link
- Link
- Link
Other links · 12
- Advisory
- Advisory
- Advisory
- Advisory
- Link
- Link
- Link
- Link
- Link
- Link
- Link
- Link
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about CVE-2021-44228
Is CVE-2021-44228 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-12-10, which means it has evidence of attacks. US federal agencies must fix it by 2021-12-24. Public exploit code exists (Exploit-DB, Metasploit, a proof of concept on GitHub). Its EPSS score, the predicted chance of exploitation in the next 30 days, reached 10% or higher by 2026-10-22.Source: cisa.gov, cve.now feed data
What does this mean?
Log4j2's JNDI features do not protect against attacker-controlled LDAP and other JNDI endpoints. An attacker who can control log messages or their parameters can make it run arbitrary code loaded from an LDAP server, when message lookup substitution is enabled.Source: lists.debian.org, sec.cloudapps.cisco.com
Which versions are affected by CVE-2021-44228?
Apache Log4j2: from 2.0-beta9 before 2.3.1; from 2.4 before 2.12.2; from 2.13.0 before 2.15.0. org.apache.logging.log4j:log4j-core (Maven): from 2.13.0 before 2.15.0. org.apache.logging.log4j:log4j-core (Maven): from 2.0-beta9 before 2.3.1. org.apache.logging.log4j:log4j-core (Maven): from 2.4 before 2.12.2. com.guicedee.services:log4j-core (Maven): through 1.2.1.2-jre17. 6 more packages are listed on the page.Source: cve.now feed data
Am I affected, and how do I check?
The advisory says all Log4j2 versions earlier than 2.15.0 are affected, with fixes in 2.3.1, 2.12.2 and 2.15.0 for their respective branches. The risk depends on message lookup substitution being enabled and on attackers being able to control log messages or parameters. To check, look at the log4j-core version in the application's dependencies or classpath, and at the lookup setting.Source: lists.debian.org, sec.cloudapps.cisco.com
How do I fix CVE-2021-44228?
Upgrade Apache Log4j2 to 2.15.0 or later. Older branches have fixes in 2.12.2 and 2.3.1. For the pax-logging-log4j2 packages, the fixed versions are 1.9.2, 1.10.8, 1.11.10 and 2.0.11.Source: lists.debian.org, sec.cloudapps.cisco.com