CVE-2021-45105: Apache Log4j2 does not always protect from infinite recursion in lookup evaluation
Vulnerability summary
CVE-2021-45105 is a medium (CVSS 5.9) Improper Input Validation vulnerability in apache software foundation apache log4j2. EPSS estimates a 100.00% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 1Timeline
- 18-12-2021PublishedVulnerability first disclosed.
- 29-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:HDiffers
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
100.00%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 100.00% on 05-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-674Uncontrolled RecursionThe product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Oracle105 products
- agile_engineering_data_management6.2.1.0
- agile_plm_mcad_connector3.6
- agile_product_lifecycle_management9.3.6
- autovue_for_agile_product_lifecycle_management21.0.2
- banking_deposits_and_lines_of_credit_servicing2.12.0
Sonicwall8 products
- 6bk1602-0aa12-0tp0_firmware< 2.7.0
- 6bk1602-0aa22-0tp0_firmware< 2.7.0
- 6bk1602-0aa32-0tp0_firmware< 2.7.0
- 6bk1602-0aa42-0tp0_firmware< 2.7.0
- 6bk1602-0aa52-0tp0_firmware< 2.7.0
Debian2 products
- apache-log4j2< 2.17.0-1~deb10u1 | < 2.17.0-1~deb11u1 | < 2.17.0-1
- debian_linuxEOL10.0 | 11.0
Opensuse2 products
- log4j&distro=openSUSE Leap 15.2< 2.17.0-lp152.3.12.1
- log4j&distro=openSUSE Leap 15.3< 2.17.0-4.13.1
Redhat2 products
- rh-sso7-keycloak< 0:15.0.6-1.redhat_00001.1.el7sso | < 0:15.0.6-1.redhat_00001.1.el8sso
- rh-sso7-keycloak-server< 0:15.0.6-1.redhat_00001.1.el7sso | < 0:15.0.6-1.redhat_00001.1.el8sso
Apache1 product
- log4j≥ 2.0, < 2.3.1 | ≥ 2.4, < 2.12.3 | ≥ 2.13.0, ≤ 2.16.0
Apache software foundation1 product
- apache log4j2≥ log4j-core, < 2.17.0
Mageia1 product
- log4j< 2.17.0-1.mga8
Netapp1 product
Org.apache.logging.log4j1 product
- log4j-core≥ 2.4.0, < 2.12.3 | ≥ 2.13.0, < 2.17.0 | < 2.3.1
Org.ops4j.pax.logging1 product
- pax-logging-log4j2≥ 1.8.0, < 1.9.2 | ≥ 1.10.0, < 1.10.9 | ≥ 1.11.0, < 1.11.12 | ≥ 2.0.0, < 2.0.13
Ubuntu1 product
- apache-log4j2All versions (No fix recorded) | < 2.12.4-0ubuntu0.1 | < 2.17.0-0.20.04.1
12 vendors · 126 products
References
44 links- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbdVendor AdvisoryX Refsource CISCOWEBThird Party Advisory
- www.openwall.com/lists/oss-security/2021/12/19/1Mailing ListX Refsource MLISTWEBMitigationThird Party Advisory
Show all 44 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory