CVE-2021-45105

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

State
Published
Severity
5.9 Medium
Published
Dec 18, 2021
Updated
May 29, 2026
Reserved
Dec 16, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
Apache Log4j2Apache Software Foundation
  • log4j-core to before 2.17.0Affectedfrom 2.13.0Affectedfrom 2.12.3Not affectedfrom 2.4Affectedfrom 2.3.1Not affectedfrom 2.0-alpha1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.