CVE-2021-45105: Apache Log4j2 does not always protect from infinite recursion in lookup evaluation
CVE-2021-45105 affects 11 listed versions of Apache Log4j in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Apache Log4j
11 of 38 listed versions are affected. Fixed in 2.17.0, 2.12.3, 2.3.1. The newest release, 2.26.1, is not affected.
2.16.0 2.15.0 2.13.2 2.13.0 2.12.2 2.8.2 2.8.1 2.0 2.0-rc2 2.0-rc1 2.0-rc1-rc1
What it is
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD)
Published by Apache Software Foundation on 18 December 2021. Last changed 25 August 2026.
Sources
- Vendor security bulletin
- Palo Alto Networks security advisory
- CVE record from Apache Software Foundation
- NVD
Check one version you run: look CVE-2021-45105 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.