Every CVE Search/ Get API key

CVE-2021-44832

Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration

6.6 MediumPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
High
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

97.9%Up 95.6 points since Dec 29, 2021
90%50%10%1%

What each source reports

NVD Score used 6.6

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.

Record
CVE-2021-44832
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
8.5 HighAV:N/AC:M/Au:S/C:C/I:C/A:C
Weakness
CWE-20, CWE-74
Updated
2026-11-02
CVE List 6.6

Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration

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.

Record
CVE-2021-44832
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20, CWE-74
Updated
2026-11-02
EUVDEUVD-2022-0516 6.6

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.

Record
EUVD-2022-0516
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-8489-44mv-ggj8 6.6

Improper Input Validation and Injection in Apache Log4j2

Apache Log4j2 versions 2.0-beta7 through 2.17.0 (excluding security fix releases 2.3.2 and 2.12.4) are vulnerable to an attack where an attacker with permission to modify the logging configuration file can construct a malicious configuration using a JDBC Appender with a data source referencing a JNDI URI which can execute remote code. 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

Only the org.apache.logging.log4j:log4j-core package is directly affected by this vulnerability. The org.apache.logging.log4j:log4j-api should be kept at the same version as the org.apache.logging.log4j:log4j-core package to ensure compatability if in use.

This issue does not impact default configurations of Log4j2 and requires an attacker to have control over the Log4j2 configuration, which reduces the likelihood of being exploited.

Record
GHSA-8489-44mv-ggj8
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20, CWE-74
Updated
2026-11-02
OSV 6.6

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.

Record
CVE-2021-44832
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-44832 6.6

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.

Record
DEBIAN-CVE-2021-44832
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 13 moreShow less
OSVGHSA-8489-44mv-ggj8 6.6

Improper Input Validation and Injection in Apache Log4j2

Apache Log4j2 versions 2.0-beta7 through 2.17.0 (excluding security fix releases 2.3.2 and 2.12.4) are vulnerable to an attack where an attacker with permission to modify the logging configuration file can construct a malicious configuration using a JDBC Appender with a data source referencing a JNDI URI which can execute remote code. 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

Only the org.apache.logging.log4j:log4j-core package is directly affected by this vulnerability. The org.apache.logging.log4j:log4j-api should be kept at the same version as the org.apache.logging.log4j:log4j-core package to ensure compatability if in use.

This issue does not impact default configurations of Log4j2 and requires an attacker to have control over the Log4j2 configuration, which reduces the likelihood of being exploited.

Record
GHSA-8489-44mv-ggj8
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20, CWE-74
Updated
2026-11-02
OSVOESA-2021-1481 6.6

log4j security update

Log4j is a tool to help the programmer output log statements to a variety of output targets.

Security Fix(es):

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 where an attacker with permission to modify the logging configuration file can construct a malicious configuration using a JDBC Appender with a data source referencing a JNDI URI which can execute remote code. 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.(CVE-2021-44832)

Record
OESA-2021-1481
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2022-1956 7.5

log4j security update

Log4j is a tool to help the programmer output log statements to a variety of output targets.

Security Fix(es):

Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.(CVE-2021-45105)

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.(CVE-2021-44832)

Record
OESA-2022-1956
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2022-1957 7.5

log4j security update

Log4j is a tool to help the programmer output log statements to a variety of output targets.

Security Fix(es):

It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.(CVE-2021-45046)

Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.(CVE-2021-45105)

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.(CVE-2021-44832)

Record
OESA-2022-1957
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2022:1296 8.8

Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.4 security update

Record
RHSA-2022:1296
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2022:1297 8.8

Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.4 security update

Record
RHSA-2022:1297
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-44832 6.6

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.

Record
UBUNTU-CVE-2021-44832
CVSS 3.1
6.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-06
OSVMGASA-2022-0002 No score

Updated log4j packages fix security vulnerability

Apache Log4j2 is vulnerable to a remote code execution (RCE) attack where an attacker with permission to modify the logging configuration file can construct a malicious configuration using a JDBC Appender with a data source referencing a JNDI URI which can execute remote code. This issue is fixed by limiting JNDI data source names to the java protocol

Record
MGASA-2022-0002
Updated
2026-11-02
OSVopenSUSE-SU-2021:4208-1 No score

Security update for log4j

This update for log4j fixes the following issues:

  • CVE-2021-44832: Fixes a remote code execution via JDBC Appender (bsc#1194127)
Record
openSUSE-SU-2021:4208-1
Updated
2026-11-02
OSVopenSUSE-SU-2022:0002-1 No score

Security update for log4j

This update for log4j fixes the following issues:

  • CVE-2021-44832: Fixes a remote code execution via JDBC Appender (bsc#1194127)

This update was imported from the SUSE:SLE-15-SP2:Update update project.

Record
openSUSE-SU-2022:0002-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11702-1 No score

log4j-2.17.1-1.1 on GA media

These are all security issues fixed in the log4j-2.17.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11702-1
Updated
2026-11-02
OSVROOT-APP-MAVEN-CVE-2021-44832 No score

CVE-2021-44832 in io.root.org.apache.logging.log4j:log4j-core - Patched by Root

Root has patched CVE-2021-44832 in the io.root.org.apache.logging.log4j:log4j-core package for Root:Maven. Multiple fixed versions available.

Record
ROOT-APP-MAVEN-CVE-2021-44832
Updated
2026-11-02
OSVUSN-5222-1 No score

apache-log4j2 vulnerabilities

It was discovered that Apache Log4j 2 was vulnerable to remote code execution (RCE) attack when configured to use a JDBC Appender with a JNDI LDAP data source URI. A remote attacker could possibly use this issue to cause a crash, leading to a denial of service. (CVE-2021-44832)

Hideki Okamoto and Guy Lederfein discovered that Apache Log4j 2 did not protect against infinite recursion in lookup evaluation. A remote attacker could possibly use this issue to cause Apache Log4j 2 to crash, leading to a denial of service. This issue only affected Ubuntu 18.04 LTS. (CVE-2021-45105)

Record
USN-5222-1
Updated
2026-11-02

Affected products

Show 11 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
org.apache.logging.log4j:log4j-core
Maven
2.0-beta7 up to 2.3.2
2.3.2
org.apache.logging.log4j:log4j-core
Maven
2.4 up to 2.12.4
2.12.4
org.apache.logging.log4j:log4j-core
Maven
2.13.0 up to 2.17.1
2.17.1
org.ops4j.pax.logging:pax-logging-log4j2
Maven
1.8.0 up to 1.9.2
1.9.2
org.ops4j.pax.logging:pax-logging-log4j2
Maven
1.10.0 up to 1.10.9
1.10.9
org.ops4j.pax.logging:pax-logging-log4j2
Maven
1.11.0 up to 1.11.13
1.11.13
org.ops4j.pax.logging:pax-logging-log4j2
Maven
2.0.0 up to 2.0.14
2.0.14
apache-log4j2
Debian:12
before 2.17.1-1
2.17.1-1
apache-log4j2
Debian:13
before 2.17.1-1
2.17.1-1
apache-log4j2
Debian:14
before 2.17.1-1
2.17.1-1
Show 26 moreShow less
Affected packages
PackageAffectedFixed
apache-log4j2
Debian:9
before 2.12.4-0+deb9u1, plus listed versions
2.10.0-12.10.0-22.11.1-12.11.1-22.11.2-1
Show 5 moreShow less
2.12.3-0+deb9u12.7-22.7-2+deb9u12.8.2-12.8.2-2
2.12.4-0+deb9u1
org.apache.logging.log4j:log4j-core
Maven
2.0-beta7 up to 2.3.2, plus listed versions
2.02.0-beta82.0-beta92.0-rc12.0-rc2
Show 6 moreShow less
2.0.12.0.22.12.22.32.3.1
2.3.2
org.apache.logging.log4j:log4j-core
Maven
2.4 up to 2.12.4, plus listed versions
2.10.02.11.02.11.12.11.22.12.0
Show 14 moreShow less
2.12.12.12.22.12.32.4.12.52.62.6.12.6.22.72.82.8.12.8.22.9.02.9.1
2.12.4
org.apache.logging.log4j:log4j-core
Maven
2.13.0 up to 2.17.1, plus listed versions
2.13.12.13.22.13.32.14.02.14.12.15.02.16.02.17.0
2.17.1
org.ops4j.pax.logging:pax-logging-log4j2
Maven
1.8.0 up to 1.9.2, plus listed versions
1.8.11.8.21.8.31.8.41.8.5
Show 4 moreShow less
1.8.61.8.71.9.01.9.1
1.9.2
org.ops4j.pax.logging:pax-logging-log4j2
Maven
1.10.0 up to 1.10.9, plus listed versions
1.10.11.10.21.10.31.10.41.10.51.10.61.10.71.10.8
1.10.9
org.ops4j.pax.logging:pax-logging-log4j2
Maven
1.11.0 up to 1.11.13, plus listed versions
1.11.11.11.101.11.111.11.121.11.2
Show 7 moreShow less
1.11.31.11.41.11.51.11.61.11.71.11.81.11.9
1.11.13
org.ops4j.pax.logging:pax-logging-log4j2
Maven
2.0.0 up to 2.0.14, plus listed versions
2.0.12.0.102.0.112.0.122.0.13
Show 8 moreShow less
2.0.22.0.32.0.42.0.52.0.62.0.72.0.82.0.9
2.0.14
log4j
Mageia:8
before 2.17.1-1.mga8
2.17.1-1.mga8
log4j,mybatis,netty,springframework,wildfly-security-manager,wildfly-elytron,wildfly-build-tools,wildfly-common,wildfly-core,thrift,json-lib,datanucleus-core,jgroups,mx4j,jboss-logging,infinispan,datanucleus-rdbms,avalon-logkit,datanucleus-api-jdo,avalon-framework,HikariCP,metrics
openEuler:20.03-LTS-SP1
before avalon-framework-4.3-25.oe1
avalon-framework-4.3-25.oe1
log4j,mybatis,netty,springframework,wildfly-security-manager,wildfly-elytron,wildfly-build-tools,wildfly-common,wildfly-core,thrift,json-lib,datanucleus-core,jgroups,mx4j,jboss-logging,infinispan,datanucleus-rdbms,avalon-logkit,datanucleus-api-jdo,avalon-framework,HikariCP,metrics
openEuler:20.03-LTS-SP2
before avalon-framework-4.3-25.oe1
avalon-framework-4.3-25.oe1
log4j
openEuler:20.03-LTS-SP1
From an advisory covering 2 CVEs
before 2.17.0-4.oe1
2.17.0-4.oe1
log4j
openEuler:20.03-LTS-SP3
From an advisory covering 3 CVEs
before 2.17.0-3.oe1
2.17.0-3.oe1
eap7-log4j
Red Hat:jboss_enterprise_application_platform:7.4::el7
From an advisory covering 7 CVEs
before 0:2.17.1-1.redhat_00001.1.el7eap
0:2.17.1-1.redhat_00001.1.el7eap
eap7-log4j
Red Hat:jboss_enterprise_application_platform:7.4::el8
From an advisory covering 7 CVEs
before 0:2.17.1-1.redhat_00001.1.el8eap
0:2.17.1-1.redhat_00001.1.el8eap
io.root.org.apache.logging.log4j:log4j-core
Root:Maven
before 2.17.0-root.io.11
2.17.0-root.io.112.17.0-root.io.122.12.4-root.io.12.12.4-root.io.22.12.4-root.io.32.12.4-root.io.92.12.4-root.io.10
org.apache.logging.log4j:log4j-core
Root:Maven
before 2.12.4-aikido.10
2.12.4-aikido.10
apache-log4j2
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.2-12.4-12.4-22.4-2ubuntu0.1~esm1
None known
apache-log4j2
Ubuntu:18.04:LTS
before 2.12.4-0ubuntu0.1, plus listed versions
2.8.2-12.8.2-22.10.0-12.10.0-22.10.0-2ubuntu0.1
2.12.4-0ubuntu0.1
apache-log4j2
Ubuntu:20.04:LTS
before 2.17.1-0.20.04.1, plus listed versions
2.11.1-22.11.2-12.15.0-0.20.04.12.16.0-0.20.04.12.17.0-0.20.04.1
2.17.1-0.20.04.1
apache-log4j2
Ubuntu:25.10
All versions, plus listed versions
2.19.0-2
None known
apache-log4j2
Ubuntu:26.10
All versions, plus listed versions
2.19.0-2build1
None known
apache-log4j2
Ubuntu:18.04:LTS
From an advisory covering 2 CVEs
before 2.12.4-0ubuntu0.1, plus listed versions
2.8.2-12.8.2-22.10.0-12.10.0-22.10.0-2ubuntu0.1
2.12.4-0ubuntu0.1
apache-log4j2
Ubuntu:20.04:LTS
From an advisory covering 2 CVEs
before 2.17.1-0.20.04.1, plus listed versions
2.11.1-22.11.2-12.15.0-0.20.04.12.16.0-0.20.04.12.17.0-0.20.04.1
2.17.1-0.20.04.1
log4j
openSUSE:Leap 15.3
before 2.17.0-4.16.1
2.17.0-4.16.1
log4j
openSUSE:Leap 15.2
before 2.17.0-lp152.3.15.1
2.17.0-lp152.3.15.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubcckuailong/log4j_RCE_CVE-2021-448322021-12-29
PoC in GitHubname/log4j-scanner2021-12-29

History

History
RecordedChangedSources
affectedOSV
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-44832 is a medium vulnerability (CVSS 6.6) in Apache Log4j, published December 28, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 97.9%, the 99th percentile. Fixed in org.apache.logging.log4j:log4j-core 2.3.2.

References

Show 100 moreShow less
MoveEnter Open