CVEfocus › CVE database › CVE-2021-44228

CVE-2021-44228Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other…

Known exploited (CISA KEV) · ransomwareCVSS 10.0 CriticalEPSS 99.9% (in the top 1% of all CVEs)Published 2021-12-10Updated 2025-10-21Assigner: apache

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.

CWE-20CWE-400CWE-502

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2021-12-10). If you run an affected version, patch or mitigate now.

Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.

Maven, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
2Fix pending
9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04apache-log4j2Not affected
vulnerable_code_not_present
Ubuntu 20.04apache-log4j2Fixed2.15.0-0.20.04.1UBUNTU-CVE-2021-44228
Ubuntu 18.04apache-log4j2Fixed2.10.0-2ubuntu0.1UBUNTU-CVE-2021-44228
Ubuntu 16.04apache-log4j2Fix pending2.4-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-44228
Debian 14apache-log4j2Fixed2.15.0-1DEBIAN-CVE-2021-44228
Debian 13apache-log4j2Fixed2.15.0-1DEBIAN-CVE-2021-44228
Debian 12apache-log4j2Fixed2.15.0-1DEBIAN-CVE-2021-44228
Red Hat Enterprise Linux 8log4j12Not affected
Red Hat Enterprise Linux 8log4j12-javadocNot affected
Red Hat Enterprise Linux 7log4jNot affected
Red Hat Enterprise Linux 7log4j-javadocNot affected
Red Hat Enterprise Linux 7log4j-manualNot affected
Red Hat Enterprise Linux 6log4jNot affected
Red Hat Enterprise Linux 6log4j-javadocNot affected
Red Hat Enterprise Linux 6log4j-manualNot affected
Maven librarycom.guicedee.services:log4j-coreFix pendingGHSA-jfh8-c2jp-5v3q
Maven libraryorg.apache.logging.log4j:log4j-coreFixed2.12.2GHSA-jfh8-c2jp-5v3q
Maven libraryorg.ops4j.pax.logging:pax-logging-log4j2Fixed2.0.11GHSA-jfh8-c2jp-5v3q

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.