CVEfocus › CVE database › CVE-2021-44832

CVE-2021-44832Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration

CVSS 6.6 MediumEPSS 97.9% (in the top 1% of all CVEs)Published 2021-12-28Updated 2026-05-29Assigner: apache

Apache Log4j2 versions 2.0-beta7 through 2.17.0 (excluding security fix releases 2.3.2 and 2.12.4) are vulnerable to a remote code execution (RCE) attack when a configuration uses a JDBC Appender with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI data source names to the java protocol in Log4j2 versions 2.17.1, 2.12.4, and 2.3.2.

CWE-20CWE-74

What to do

Likely to be exploited: EPSS gives a 98% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

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

Ubuntu has 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
1Will not fix
11Not 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 26.10apache-log4j2Fix pendingUBUNTU-CVE-2021-44832
Ubuntu 26.04apache-log4j2Not affected
vulnerable_code_not_present
Ubuntu 25.10apache-log4j2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-44832
Ubuntu 24.04apache-log4j2Not affected
vulnerable_code_not_present
Ubuntu 22.04apache-log4j2Not affected
vulnerable_code_not_present
Ubuntu 20.04apache-log4j2Fixed2.17.1-0.20.04.1UBUNTU-CVE-2021-44832
Ubuntu 18.04apache-log4j2Fixed2.12.4-0ubuntu0.1UBUNTU-CVE-2021-44832
Ubuntu 16.04apache-log4j2Fix pendingUBUNTU-CVE-2021-44832
Debian 14apache-log4j2Fixed2.17.1-1DEBIAN-CVE-2021-44832
Debian 13apache-log4j2Fixed2.17.1-1DEBIAN-CVE-2021-44832
Debian 12apache-log4j2Fixed2.17.1-1DEBIAN-CVE-2021-44832
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 libraryorg.apache.logging.log4j:log4j-coreFixed2.12.4GHSA-8489-44mv-ggj8
Maven libraryorg.ops4j.pax.logging:pax-logging-log4j2Fixed1.11.13GHSA-8489-44mv-ggj8

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.