# CVE-2021-45105: Apache Log4j2 does not always protect from infinite recursion in lookup evaluation

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 99.9%, higher than 99% of CVEs (2026-12-01)
- Published: 2021-12-18T11:55:08.000Z
- Modified: 2026-08-25T16:28:27.310Z
- Also known as: GHSA-p6xc-xr62-6r2g
- Weaknesses: CWE-20, CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Log4j2: from log4j-core before 2.17.0
- org.apache.logging.log4j:log4j-core (Maven): from 2.4.0 before 2.12.3; from 2.13.0 before 2.17.0; before 2.3.1
- org.ops4j.pax.logging:pax-logging-log4j2 (Maven): from 1.8.0 before 1.9.2; from 1.10.0 before 1.10.9; from 1.11.0 before 1.11.12; from 2.0.0 before 2.0.13
- apache log4j: from 2.0 before 2.3.1; from 2.4 before 2.12.3; from 2.13.0 up to 2.16.0
- netapp cloud_manager: no versions given
- debian debian_linux: 10.0; 11.0
- sonicwall email_security: up to 10.0.12
- sonicwall network_security_manager: from 2.0 before 3.0
- sonicwall web_application_firewall: from 3.0.0 before 3.1.0
- sonicwall 6bk1602-0aa12-0tp0_firmware: before 2.7.0
- sonicwall 6bk1602-0aa22-0tp0_firmware: before 2.7.0
- sonicwall 6bk1602-0aa32-0tp0_firmware: before 2.7.0
- sonicwall 6bk1602-0aa42-0tp0_firmware: before 2.7.0
- sonicwall 6bk1602-0aa52-0tp0_firmware: before 2.7.0
- oracle agile_engineering_data_management: 6.2.1.0
- oracle agile_plm_mcad_connector: 3.6
- oracle agile_product_lifecycle_management: 9.3.6
- oracle autovue_for_agile_product_lifecycle_management: 21.0.2
- oracle banking_deposits_and_lines_of_credit_servicing: 2.12.0
- oracle banking_enterprise_default_management: 2.7.1; 2.12.0
- oracle banking_loans_servicing: 2.12.0
- oracle banking_party_management: 2.7.0
- oracle banking_payments: 14.5
- oracle banking_platform: 2.6.2; 2.7.1; 2.12.0
- oracle banking_trade_finance: 14.5
- oracle banking_treasury_management: 14.5
- oracle business_intelligence: 5.5.0.0.0
- oracle communications_asap: 7.3
- oracle communications_billing_and_revenue_management: 12.0.0.4; 12.0.0.5
- oracle communications_cloud_native_core_console: 1.9.0
- oracle communications_cloud_native_core_network_function_cloud_native_environment: 1.10.0
- oracle communications_cloud_native_core_network_repository_function: 1.15.0; 1.15.1
- oracle communications_cloud_native_core_network_slice_selection_function: 1.8.0
- oracle communications_cloud_native_core_policy: 1.15.0
- oracle communications_cloud_native_core_security_edge_protection_proxy: 1.7.0
- oracle communications_cloud_native_core_service_communication_proxy: 1.15.0
- oracle communications_cloud_native_core_unified_data_repository: 1.15.0
- oracle communications_convergence: 3.0.2.2.0; 3.0.3.0
- oracle communications_convergent_charging_controller: from 12.0.1.0.0 up to 12.0.4.0.0; 6.0.1.0.0
- oracle communications_diameter_signaling_router: from 8.3.0.0 up to 8.5.1.0
- oracle communications_eagle_element_management_system: 46.6
- oracle communications_eagle_ftp_table_base_retrieval: 4.5
- oracle communications_element_manager: before 9.0
- oracle communications_evolved_communications_application_server: 7.1
- oracle communications_interactive_session_recorder: 6.3; 6.4
- oracle communications_ip_service_activator: 7.4.0
- oracle communications_messaging_server: 8.1
- oracle communications_network_charging_and_control: from 12.0.1.0.0 up to 12.0.4.0.0; 6.0.1.0.0
- oracle communications_network_integrity: 7.3.6
- oracle communications_performance_intelligence_center: 10.4.0.3
- oracle communications_pricing_design_center: 12.0.0.4; 12.0.0.5
- oracle communications_service_broker: 6.2
- oracle communications_services_gatekeeper: 7.0
- oracle communications_session_report_manager: before 9.0
- oracle communications_session_route_manager: before 9.0
- oracle communications_unified_inventory_management: 7.3.5; 7.4.1; 7.4.2
- oracle communications_user_data_repository: 12.4
- oracle communications_webrtc_session_controller: 7.2.0.0; 7.2.1
- oracle data_integrator: 12.2.1.3.0; 12.2.1.4.0
- oracle e-business_suite: 12.2
- and 59 more: see the JSON

## Every score

- CISA-ADP: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://logging.apache.org/log4j/2.x/security.html> (release-notes, vendor-advisory, web)
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032> (third-party-advisory, web)
- <https://www.kb.cert.org/vuls/id/930724> (third-party-advisory, us-government-resource, web)
- <https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd> (third-party-advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/12/19/1> (mailing-list, mitigation, third-party-advisory, web)
- <https://www.debian.org/security/2021/dsa-5024> (third-party-advisory, vendor-advisory, web)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-479842.pdf> (third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20211218-0001/> (third-party-advisory)
- <https://www.zerodayinitiative.com/advisories/ZDI-21-1541/> (third-party-advisory, vdb-entry)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-501673.pdf> (third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-45105> (advisory)
- <https://www.zerodayinitiative.com/advisories/ZDI-21-1541> (web)
- <https://security.netapp.com/advisory/ntap-20211218-0001> (web)
- <https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SIG7FZULMNK2XF6FZRU4VWYDQXNMUGAJ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EOKPQGV24RRBBI4TBZUDQMM4MEH7MXCY> (web)
- <https://lists.debian.org/debian-lts-announce/2021/12/msg00017.html> (web)

## Sources

- CVE List: [CVE-2021-45105](https://www.cve.org/CVERecord?id=CVE-2021-45105), CVE Terms of Use, modified 2026-05-29
- GitHub Advisory Database: [GHSA-p6xc-xr62-6r2g](https://github.com/advisories/GHSA-p6xc-xr62-6r2g), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2021-45105](https://nvd.nist.gov/vuln/detail/CVE-2021-45105), Public domain, modified 2026-08-25

---

Page: https://cve.day/CVE-2021-45105 · Whole record: https://cve.day/CVE-2021-45105.json · Rebuilt by cve.day 2026-11-25T22:58:06.077Z
