Description
Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.
Published: 2021-12-18
Score: 5.9 Medium
EPSS: 71.4% High
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

Vendor Workaround

Implement one of the following mitigation techniques: * Java 8 (or later) users should upgrade to release 2.17.0. Alternatively, this can be mitigated in configuration: * In PatternLayout in the logging configuration, replace Context Lookups like `${ctx:loginId}` or `$${ctx:loginId}` with Thread Context Map patterns (%X, %mdc, or %MDC). * Otherwise, in the configuration, remove references to Context Lookups like `${ctx:loginId}` or `$${ctx:loginId}` where they originate from sources external to the application such as HTTP headers or user input.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2852-1 apache-log4j2 security update
Debian DSA Debian DSA DSA-5024-1 apache-log4j2 security update
Github GHSA Github GHSA GHSA-p6xc-xr62-6r2g Apache Log4j2 vulnerable to Improper Input Validation and Uncontrolled Recursion
Ubuntu USN Ubuntu USN USN-5203-1 Apache Log4j 2 vulnerability
Ubuntu USN Ubuntu USN USN-5222-1 Apache Log4j 2 vulnerabilities
History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.65452}

epss

{'score': 0.66522}


Subscriptions

Apache Log4j
Debian Debian Linux
Netapp Cloud Manager
Oracle Agile Engineering Data Management Agile Plm Agile Plm Mcad Connector Autovue For Agile Product Lifecycle Management Banking Deposits And Lines Of Credit Servicing Banking Enterprise Default Management Banking Loans Servicing Banking Party Management Banking Payments Banking Platform Banking Trade Finance Banking Treasury Management Business Intelligence Communications Asap Communications Billing And Revenue Management Communications Cloud Native Core Console Communications Cloud Native Core Network Function Cloud Native Environment Communications Cloud Native Core Network Repository Function Communications Cloud Native Core Network Slice Selection Function Communications Cloud Native Core Policy Communications Cloud Native Core Security Edge Protection Proxy Communications Cloud Native Core Service Communication Proxy Communications Cloud Native Core Unified Data Repository Communications Convergence Communications Convergent Charging Controller Communications Diameter Signaling Router Communications Eagle Element Management System Communications Eagle Ftp Table Base Retrieval Communications Element Manager Communications Evolved Communications Application Server Communications Interactive Session Recorder Communications Ip Service Activator Communications Messaging Server Communications Network Charging And Control Communications Network Integrity Communications Performance Intelligence Center Communications Pricing Design Center Communications Service Broker Communications Services Gatekeeper Communications Session Report Manager Communications Session Route Manager Communications Unified Inventory Management Communications User Data Repository Communications Webrtc Session Controller Data Integrator E-business Suite Enterprise Manager Base Platform Enterprise Manager For Peoplesoft Enterprise Manager Ops Center Financial Services Analytical Applications Infrastructure Financial Services Model Management And Governance Flexcube Universal Banking Health Sciences Empirica Signal Health Sciences Inform Health Sciences Information Manager Healthcare Data Repository Healthcare Foundation Healthcare Master Person Index Healthcare Translational Research Hospitality Suite8 Hospitality Token Proxy Service Hyperion Bi\+ Hyperion Data Relationship Management Hyperion Infrastructure Technology Hyperion Planning Hyperion Profitability And Cost Management Hyperion Tax Provision Identity Management Suite Identity Manager Connector Instantis Enterprisetrack Insurance Data Gateway Insurance Insbridge Rating And Underwriting Jdeveloper Managed File Transfer Management Cloud Engine Mysql Enterprise Monitor Payment Interface Peoplesoft Enterprise Peopletools Primavera Gateway Primavera P6 Enterprise Project Portfolio Management Primavera Unifier Retail Back Office Retail Central Office Retail Customer Insights Retail Data Extractor For Merchandising Retail Eftlink Retail Financial Integration Retail Integration Bus Retail Invoice Matching Retail Merchandising System Retail Order Broker Retail Order Management System Retail Point-of-service Retail Predictive Application Server Retail Price Management Retail Returns Management Retail Service Backbone Retail Store Inventory Management Siebel Ui Framework Sql Developer Taleo Platform Utilities Framework Webcenter Portal Webcenter Sites Weblogic Server
Redhat Amq Streams Camel Quarkus Integration Jboss Data Grid Jboss Enterprise Application Platform Jboss Fuse Logging Openshift Openshift Application Runtimes Red Hat Single Sign On
Sonicwall 6bk1602-0aa12-0tp0 6bk1602-0aa12-0tp0 Firmware 6bk1602-0aa22-0tp0 6bk1602-0aa22-0tp0 Firmware 6bk1602-0aa32-0tp0 6bk1602-0aa32-0tp0 Firmware 6bk1602-0aa42-0tp0 6bk1602-0aa42-0tp0 Firmware 6bk1602-0aa52-0tp0 6bk1602-0aa52-0tp0 Firmware Email Security Network Security Manager Web Application Firewall
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2024-08-04T04:39:20.295Z

Reserved: 2021-12-16T00:00:00.000Z

Link: CVE-2021-45105

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-12-18T12:15:07.433

Modified: 2024-11-21T06:31:58.170

Link: CVE-2021-45105

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-12-18T00:00:00Z

Links: CVE-2021-45105 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses