CVE-2021-45105

published 18 Dec 2021 · updated 29 May 2026

Apache Log4j2 does not always protect from infinite recursion in lookup evaluation

6.9MediumCVSS 5.9EPSS 100%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 100%. Fixed in 2.17.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=log4j-core <2.17.02.17.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-45105 severity on Zeptric[![CVE-2021-45105](https://zeptric.io/badge/cve/CVE-2021-45105.svg)](https://zeptric.io/cve/CVE-2021-45105)