CVE-2021-45046
Apache Log4j2 Deserialization of Untrusted Data Vulnerability
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2021-12-14
- Last modified
- 2026-06-17
- Assigned by
- security@apache.org
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
100.0 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2023-05-01, with a remediation deadline of 2023-05-22 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Log4j | 2.0 | Affected |
| Apache | Log4j | ≥ 2.0.1, < 2.12.2 | Affected |
| Apache | Log4j | ≥ 2.13.0, < 2.16.0 | Affected |
| Cvat | Computer Vision Annotation Tool | all versions listed | Affected |
| Debian | Debian Linux | 10.0 | Affected |
| Debian | Debian Linux | 11.0 | Affected |
| Fedoraproject | Fedora | 34 | Affected |
| Fedoraproject | Fedora | 35 | Affected |
| Intel | Audio Development Kit | all versions listed | Affected |
| Intel | Datacenter Manager | all versions listed | Affected |
| Intel | Genomics Kernel Library | all versions listed | Affected |
| Intel | Oneapi | all versions listed | Affected |
| Intel | Secure Device Onboard | all versions listed | Affected |
| Intel | Sensor Solution Firmware Development Kit | all versions listed | Affected |
| Intel | System Debugger | all versions listed | Affected |
| Intel | System Studio | all versions listed | Affected |
| org.apache.logging.log4j | log4j-core (Maven) | < 2.12.2 | Affected |
| org.apache.logging.log4j | log4j-core (Maven) | ≥ 2.13.0, < 2.16.0 | Affected |
| org.ops4j.pax.logging | pax-logging-log4j2 (Maven) | ≥ 1.10.0, < 1.10.8 | Affected |
| org.ops4j.pax.logging | pax-logging-log4j2 (Maven) | ≥ 1.11.0, < 1.11.11 | Affected |
| org.ops4j.pax.logging | pax-logging-log4j2 (Maven) | ≥ 1.8.0, < 1.9.2 | Affected |
| org.ops4j.pax.logging | pax-logging-log4j2 (Maven) | ≥ 2.0.0, < 2.0.12 | Affected |
| Siemens | 6bk1602-0aa12-0tp0 | all versions listed | Not affected |
| Siemens | 6bk1602-0aa12-0tp0 Firmware | < 2.7.0 | Affected |
| Siemens | 6bk1602-0aa22-0tp0 | all versions listed | Not affected |
| Siemens | 6bk1602-0aa22-0tp0 Firmware | < 2.7.0 | Affected |
| Siemens | 6bk1602-0aa32-0tp0 | all versions listed | Not affected |
| Siemens | 6bk1602-0aa32-0tp0 Firmware | < 2.7.0 | Affected |
| Siemens | 6bk1602-0aa42-0tp0 | all versions listed | Not affected |
| Siemens | 6bk1602-0aa42-0tp0 Firmware | < 2.7.0 | Affected |
| Siemens | 6bk1602-0aa52-0tp0 | all versions listed | Not affected |
| Siemens | 6bk1602-0aa52-0tp0 Firmware | < 2.7.0 | Affected |
| Siemens | Captial | < 2019.1 | Affected |
| Siemens | Captial | 2019.1 | Affected |
| Siemens | Comos | all versions listed | Affected |
| Siemens | Desigo Cc Advanced Reports | 4.0 | Affected |
| Siemens | Desigo Cc Advanced Reports | 4.1 | Affected |
| Siemens | Desigo Cc Advanced Reports | 4.2 | Affected |
| Siemens | Desigo Cc Advanced Reports | 5.0 | Affected |
| Siemens | Desigo Cc Advanced Reports | 5.1 | Affected |
| Siemens | Desigo Cc Info Center | 5.0 | Affected |
| Siemens | Desigo Cc Info Center | 5.1 | Affected |
| Siemens | E-car Operation Center | < 2021-12-13 | Affected |
| Siemens | Energy Engage | 3.1 | Affected |
| Siemens | Energyip | 8.5 | Affected |
| Siemens | Energyip | 8.6 | Affected |
| Siemens | Energyip | 8.7 | Affected |
| Siemens | Energyip | 9.0 | Affected |
| Siemens | Energyip Prepay | 3.7 | Affected |
| Siemens | Energyip Prepay | 3.8 | Affected |
| Siemens | Gma-manager | < 8.6.2j-398 | Affected |
| Siemens | Head-end System Universal Device Integration System | all versions listed | Affected |
| Siemens | Industrial Edge Management | all versions listed | Affected |
| Siemens | Industrial Edge Management Hub | < 2021-12-13 | Affected |
| Siemens | Logo! Soft Comfort | all versions listed | Affected |
| Siemens | Mendix | all versions listed | Affected |
| Siemens | Mindsphere | < 2021-12-11 | Affected |
| Siemens | Navigator | < 2021-12-13 | Affected |
| Siemens | Nx | all versions listed | Affected |
| Siemens | Opcenter Intelligence | ≤ 3.2 | Affected |
Weakness type
-
CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement
The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or inc…
References
- http://www.openwall.com/lists/oss-security/2021/12/14/4
- http://www.openwall.com/lists/oss-security/2021/12/15/3
- http://www.openwall.com/lists/oss-security/2021/12/18/1
- https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-661247.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-714170.pdf
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://logging.apache.org/log4j/2.x/security.html
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032
- https://security.gentoo.org/glsa/202310-16
- https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log…
- https://www.cve.org/CVERecord?id=CVE-2021-44228
- https://www.debian.org/security/2021/dsa-5022
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00646.html
- https://www.kb.cert.org/vuls/id/930724
- https://www.oracle.com/security-alerts/alert-cve-2021-44228.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.