What’s Vulnerable › Vulnerabilities

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.

Summary

CVE-2021-45046 is an incomplete fix for Log4j2's CVE-2021-44228, allowing attackers who control Thread Context Map (MDC) input to craft malicious JNDI lookups when a non-default Pattern Layout uses Context Lookup or %X/%mdc/%MDC patterns. This can lead to information leaks, remote code execution in some environments, and local code execution in all environments. Affected are Apache Log4j versions before 2.16.0 (Java 8) and 2.12.2 (Java 7), plus products bundling them such as Cvat, Debian Linux, Fedora, Intel Audio Development Kit, Intel Datacenter Manager, Intel Genomics Kernel Library, and Intel oneAPI Toolkit installers. The vulnerability is actively exploited (CISA KEV, SSVC active, EPSS 100%) and a public exploit exists. Apply updates to Log4j 2.16.0 or 2.12.2, or follow vendor instructions for affected products.

CVE-2021-45046 هو إصلاح غير مكتمل لثغرة CVE-2021-44228 في Log4j2، ويسمح للمهاجمين الذين يتحكمون في بيانات إدخال Thread Context Map (MDC) بتكوين استعلامات JNDI خبيثة عندما يستخدم تكوين التسجيل Pattern Layout غير افتراضي مع Context Lookup أو أنماط %X/%mdc/%MDC. قد يؤدي ذلك إلى تسريب معلومات وتنفيذ تعليمات برمجية عن بُعد في بعض البيئات وتنفيذ محلي في جميع البيئات. تتأثر إصدارات Apache Log4j قبل 2.16.0 (Java 8) و2.12.2 (Java 7)، بالإضافة إلى منتجات تتضمنها مثل Cvat وDebian Linux وFedora وIntel Audio Development Kit وIntel Datacenter Manager وIntel Genomics Kernel Library وبرامج تثبيت Intel oneAPI Toolkit. الثغرة مستغلة فعليًا (CISA KEV، SSVC active، EPSS 100%) ويوجد استغلال عام. طبّق التحديثات إلى Log4j 2.16.0 أو 2.12.2، أو اتبع تعليمات البائع للمنتجات المتأثرة.

Affected products

How to fix

Upgrade to a fixed version: Apache Log4j 2.12.2, 2.16.0; Siemens 6Bk1602-0Aa12-0Tp0 Firmware 2.7.0; Siemens 6Bk1602-0Aa22-0Tp0 Firmware 2.7.0; Siemens 6Bk1602-0Aa32-0Tp0 Firmware 2.7.0; Siemens 6Bk1602-0Aa42-0Tp0 Firmware 2.7.0; Siemens 6Bk1602-0Aa52-0Tp0 Firmware 2.7.0; Siemens Captial 2019.1; Siemens E-Car Operation Center 2021-12-13; Siemens GMA-Manager 8.6.2j-398; Siemens Industrial Edge Management Hub 2021-12-13; Siemens Mindsphere 2021-12-11; Siemens Navigator 2021-12-13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-45046 or the next vulnerability affects your stack