Vulnerability · Published Dec 28, 2021 · Assigned by apache

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

Medium 6.6

In plain English

A medium-severity improper input validation in Apache Log4j2 from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 97.9% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)97.9%top 0.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12apache-log4j22.17.1-1DEBIAN-CVE-2021-44832
Debian:13apache-log4j22.17.1-1DEBIAN-CVE-2021-44832
Debian:14apache-log4j22.17.1-1DEBIAN-CVE-2021-44832
Mavenorg.apache.logging.log4j:log4j-core2.3.2GHSA-8489-44mv-ggj8
Mavenorg.apache.logging.log4j:log4j-core2.17.1GHSA-8489-44mv-ggj8
Mavenorg.apache.logging.log4j:log4j-core2.12.4GHSA-8489-44mv-ggj8
Mavenorg.ops4j.pax.logging:pax-logging-log4j22.0.14GHSA-8489-44mv-ggj8
Mavenorg.ops4j.pax.logging:pax-logging-log4j21.9.2GHSA-8489-44mv-ggj8
Mavenorg.ops4j.pax.logging:pax-logging-log4j21.10.9GHSA-8489-44mv-ggj8
Mavenorg.ops4j.pax.logging:pax-logging-log4j21.11.13GHSA-8489-44mv-ggj8
Ubuntu:25.10apache-log4j2no fix listedUBUNTU-CVE-2021-44832
Ubuntu:26.10apache-log4j2no fix listedUBUNTU-CVE-2021-44832

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Log4j2 log4j-core – before 2.17.1

Weakness: CWE-20, CWE-74 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

References