Security Advisory

CVE-2021-44228 (Log4Shell): Apache Log4j2 RCE explained

Last updated:
  • CVE-2021-44228

CVE-2021-44228 ("Log4Shell") is a critical (CVSS 10.0) remote code execution vulnerability in Apache Log4j2's JNDI lookup feature, triggered when an attacker-controlled string reaches a log message. It affects log4j-core up to 2.14.1, has been in the CISA KEV catalog since 2021-12-10 with known ransomware campaign use, and is fixed in the 2.3.1 and 2.12.2 backports and from 2.15.0 onward.

Vulnerability summary

CVSS base score

10

Critical severity

EPSS score (FIRST)

100.0%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2021-44228 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
Apache Log4j2 (log4j-core)cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*2.0.1 through 2.3.0 (fixed in 2.3.1)
Apache Log4j2 (log4j-core)cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*2.4.0 through 2.12.1 (fixed in 2.12.2)
Apache Log4j2 (log4j-core)cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*2.13.0 through 2.14.1 (JNDI lookups disabled by default from 2.15.0; removed entirely from 2.16.0)

What does this mean for affected devices?

CVE-2021-44228 ("Log4Shell") affects the JNDI lookup feature in Apache Log4j2's log4j-core component. An attacker who can get a string into a log message or a logged parameter can make Log4j2 resolve a JNDI lookup against an attacker-controlled LDAP or other JNDI endpoint, leading to remote code execution (NVD).

NVD scores it CVSS v3.1 10.0 (critical): network-reachable, low attack complexity, no privileges or user interaction required, and a full compromise of confidentiality, integrity and availability (NVD).

The severity level is therefore Critical, the top band of the CVSS v3.1 qualitative scale, which runs from None (0.0) through Low (0.1-3.9), Medium (4.0-6.9) and High (7.0-8.9) to Critical (9.0-10.0) (FIRST CVSS v3.1 specification, section 5). 10.0 is the highest score the scale allows; the changed scope (S:C) in the vector means the impact reaches beyond the vulnerable component itself, here into the application that embeds Log4j2.

CISA added CVE-2021-44228 to the Known Exploited Vulnerabilities (KEV) catalog on 2021-12-10, the day it was disclosed, and records known use in ransomware campaigns; the required action was to patch or remove affected assets from agency networks (CISA KEV).

NVD lists log4j-core 2.0-beta9 through 2.14.1 as vulnerable by default (JNDI lookups enabled), excluding the backported security releases 2.3.1, 2.12.2 and 2.12.3. From 2.15.0 the risky lookup behaviour is disabled by default, and from 2.16.0 it was removed entirely. The issue is specific to log4j-core and does not affect log4j-api, log4net or log4cxx (NVD).

As of 2026-10-19, FIRST scores the probability of exploitation at the top of the EPSS distribution (EPSS 0.9999, 100th percentile); Log4Shell remains one of the most widely scanned-for vulnerabilities on the internet years after disclosure (FIRST EPSS).

Log4Shell also reached industrial and building-automation products: Siemens ProductCERT advisory SSA-661247, first published 2021-12-13, lists affected Siemens products including the Desigo CC building management platform, Industrial Edge Management and SIMATIC IPC industrial PCs with affected Adaptec RAID software (Siemens ProductCERT SSA-661247).

Any application bundling a vulnerable log4j-core release should upgrade to the latest 2.x release; 2.15.0 alone does not remove every related risk, which is why the project continued shipping fixes through 2.17.1.

For other device and network CVEs, including the Cisco IOS XE vulnerabilities, see the SoftWSP advisories index.

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • An attacker who controls a logged string can trigger JNDI lookups against an attacker-controlled endpoint, leading to remote code execution. — NVD
  • NVD CVSS v3.1 base score is 10.0 (critical), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H. — NVD
  • Added to the CISA Known Exploited Vulnerabilities catalog on 2021-12-10 with known ransomware campaign use. — CISA KEV
  • Vulnerable log4j-core versions: 2.0-beta9 through 2.14.1 (JNDI lookups enabled by default); 2.3.1, 2.12.2 and 2.12.3 are fixed backports; 2.15.0 disables the behaviour by default and 2.16.0 removes it entirely. — NVD
  • EPSS score is 0.9999 (100th percentile) as of 2026-10-19. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA KEV
  3. FIRST EPSS
  4. Siemens ProductCERT SSA-661247
  5. FIRST CVSS v3.1 specification

Frequently asked questions

What is CVE-2021-44228?

CVE-2021-44228 ("Log4Shell") is a critical (CVSS 10.0) remote code execution vulnerability in Apache Log4j2's JNDI lookup feature, triggered when an attacker-controlled string reaches a log message. It affects log4j-core up to 2.14.1, has been in the CISA KEV catalog since 2021-12-10 with known ransomware campaign use, and is fixed in the 2.3.1 and 2.12.2 backports and from 2.15.0 onward.

How severe is CVE-2021-44228?

NVD scores CVE-2021-44228 10 out of 10 on the CVSS scale — a critical severity rating.

Is CVE-2021-44228 being actively exploited?

Yes — CVE-2021-44228 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning CISA has confirmed evidence of active exploitation in the wild.

What is affected by CVE-2021-44228?

CVE-2021-44228 affects Apache Log4j2 (log4j-core), Apache Log4j2 (log4j-core), and Apache Log4j2 (log4j-core).

Where does this CVE-2021-44228 information come from?

This advisory is based on NVD, CISA KEV, FIRST EPSS, Siemens ProductCERT SSA-661247, and FIRST CVSS v3.1 specification, cited in full in the Sources section above.