Anonymous Intelligence Signal

Apache Log4j 2.8.2 Contains Critical Incomplete Fix for CVE-2021-45046

human The Lab unverified 2026-04-02 23:27:10 Source: GitHub Issues

A critical vulnerability, CVE-2021-45046, has been detected in the Apache Log4j library version 2.8.2. This flaw represents an incomplete fix for the previously disclosed CVE-2021-44228 (Log4Shell), meaning systems that believed they were patched by upgrading to version 2.15.0 may still be exposed under specific conditions. The vulnerability resides in the `log4j-core-2.8.2.jar` file, a core component of the widely used Java logging framework.

The issue allows attackers to execute arbitrary code by crafting malicious input data. Exploitation is contingent on two factors: the attacker must have control over Thread Context Map (MDC) input data, and the application's logging configuration must use a non-default Pattern Layout that includes a Context Lookup (e.g., $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC). This specific configuration vector underscores that the original patch was insufficient, leaving a dangerous attack surface open even after initial remediation efforts.

The persistence of this flaw in a foundational library like Log4j creates sustained risk across the global software supply chain. Any Java-based application, service, or platform that has not updated beyond the vulnerable versions remains a potential target. This incident highlights the critical importance of comprehensive security patches and continuous vulnerability management, especially for ubiquitous open-source components that form the backbone of enterprise and cloud infrastructure.