Stackurity Start free trial

CVEs / CVE-2021-45105

CVE-2021-45105: Apache Software Foundation Apache Log4j2 vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2021-45105

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.

The CVE record, via NVD · published 18 Dec 2021 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Apache Software Foundation Apache Log4j2from log4j-core, before 2.17.02.17.0
As stated by OSV
ProductAffectedFixed in
org.apache.logging.log4j:log4j-core (Maven)from 2.4.0, before 2.12.32.12.3
org.apache.logging.log4j:log4j-core (Maven)from 2.13.0, before 2.17.02.17.0
org.apache.logging.log4j:log4j-core (Maven)before 2.3.12.3.1
org.ops4j.pax.logging:pax-logging-log4j2 (Maven)from 1.8.0, before 1.9.21.9.2
org.ops4j.pax.logging:pax-logging-log4j2 (Maven)from 1.10.0, before 1.10.91.10.9
org.ops4j.pax.logging:pax-logging-log4j2 (Maven)from 1.11.0, before 1.11.121.11.12
org.ops4j.pax.logging:pax-logging-log4j2 (Maven)from 2.0.0, before 2.0.132.0.13

Package versions from GHSA-p6xc-xr62-6r2g.

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Oct 2026.

Severity

CVSS 3.15.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by NVD
WeaknessCWE-20, CWE-674

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.