Home ยป Database

AVID-2026-R0927

Description

Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints (CVE-2021-44228)

Details

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.

Reason for inclusion in AVID: CVE-2021-44228 describes a remote code execution vulnerability in Apache Log4j2 via JNDI endpoints. This is a software vulnerability with potential exploitation across software stacks that rely on Log4j2, including components used in AI pipelines (e.g., Java-based services, Spark/Hadoop, and model-serving stacks). It affects the supply chain of general-purpose AI systems through dependencies and runtimes, enabling attacker-controlled code execution if exploited. The report provides explicit CVE details and describes the vulnerability behavior (RCE), satisfying security/safety criteria and providing sufficient evidence.

References

Affected or Relevant Artifacts

  • Developer: Apache Software Foundation
  • Deployer: Apache Software Foundation
  • Artifact Details:
TypeName
SystemApache Log4j2

Impact

AVID Taxonomy Categorization

  • Risk domains: Security
  • SEP subcategories: S0100: Software Vulnerability
  • Lifecycle stages: L06: Deployment

CWE

IDDescription
CWE-502CWE-502 Deserialization of Untrusted Data
CWE-400CWE-400 Uncontrolled Resource Consumption
CWE-20CWE-20 Improper Input Validation

Other information

  • Report Type: Advisory
  • Credits:
  • Date Reported: 2021-12-10
  • Version: 0.3.3
  • AVID Entry