CVE-2021-44832: Remote Code Execution via JDBC Appender in Apache Log4j2
- Vendors
- Cisco SystemsOracle CorporationDebian ProjectFedora ProjectApache Software Foundation
CVE-2021-44832 is a configuration-dependent remote code execution vulnerability in Apache Log4j Core versions 2.0-beta7 through 2.17.0, excluding 2.3.2 and 2.12.4. An attacker permitted to modify the logging configuration can configure a JDBC Appender with a data source referencing an attacker-controlled JNDI LDAP endpoint. Insufficient restriction of JNDI data source protocols can allow arbitrary code execution in the affected application's security context. Unlike the original Log4Shell vulnerability, exploitation requires control over the logging configuration rather than merely attacker-controlled log messages.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the confidentiality, integrity, and availability of the affected application and resources accessible to its runtime account. Arbitrary code execution can enable sensitive-data theft, unauthorized modification of application data, and service disruption. The extent of compromise depends on the application's privileges and access to other resources.
Mitigation
If you can’t patch tonight, do this now.
Restrict modification of logging configurations to trusted administrators, including write access to application directories from which configurations can be loaded. Disable the JDBC Appender if it is unnecessary, or remove JNDI LDAP data source references. Restrict outbound connections to untrusted LDAP services as a compensating control. Message-lookup disabling settings should not be treated as a fix for this configuration-based vulnerability.
Remediation
Patch, then assume compromise.
Upgrade Apache Log4j Core to 2.17.1 or later for Java 8 and later, 2.12.4 for the Java 7 release line, or 2.3.2 for the Java 6 release line. These fixes restrict JNDI data source names to the java protocol. Prefer a currently supported release compatible with the application. For products embedding Log4j, apply the vendor's vulnerability-specific update and ensure bundled copies are replaced.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 4 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-44832 exploited in the wild?
- Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-44832?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-44832, the earliest disclosed Apr 28, 2026.
- Is there a patch for CVE-2021-44832?
- Upgrade Apache Log4j Core to 2.17.1 or later for Java 8 and later, 2.12.4 for the Java 7 release line, or 2.3.2 for the Java 6 release line. These fixes restrict JNDI data source names to the java protocol.
- What products are affected by CVE-2021-44832?
- Apache Software Foundation Log4j, Cisco Systems Cloudcenter, Oracle Corporation Communications Brm - Elastic Charging Engine, Oracle Corporation Communications Diameter Signaling Router, Oracle Corporation Communications Interactive Session Recorder, and at least 17 more.
- How severe is CVE-2021-44832?
- CVE-2021-44832 has a CVSS v3.1 score of 6.6 (Medium) and an EPSS score of 97.9% (100th percentile) as of Nov 26, 2026.
Recent activity
58 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.