Apache Log4j2 does not always protect from infinite recursion in lookup evaluation (CVE-2021-45105)
Published Last modified Sources: SingCERT, Debian, OSV, Siemens ProductCERT, CVE.org, BSI
- Actively exploited
- Source: ANSSI / CERT-FR How we classify
What is affected, what to do
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.
The vulnerability is being actively exploited; treat it as a priority. Update Apache Log4j2 to version 2.17.0.
- Affected
- Apache Log4j2
lt log4j-core..2.17.0
- Apache Log4j2
- Fixed in
- Apache Log4j2
2.17.0
- Apache Log4j2
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
5.9
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
5.9
CVSS v3
Severity Medium on the scale from 0 to 10.
Source: SingCERT, Debian, OSV, Siemens ProductCERT, CVE.org, BSI
—
EPSS score
No value is available for this vulnerability.
Show all metrics
- Severity
- Medium
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 109.69 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploitedSource: ANSSI / CERT-FR How we classify
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 5.9 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 5.9
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 99.99
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-20, CWE-674
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: CSA/SingCERT, Debian Security Advisories, OSV (Open Source Vulnerabilities), siemens_advisory, cvelistv5, NVD (NIST), BSI CSAF, BSI WID Portal
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| Apache Software Foundation | Apache Log4j2 |
|
|
| apache | log4j |
|
|
| netapp | cloud_manager |
|
|
| oracle | agile_engineering_data_management |
|
|
| oracle | agile_plm_mcad_connector |
|
|
| oracle | agile_product_lifecycle_management |
|
|
| oracle | autovue_for_agile_product_lifecycle_management |
|
|
| oracle | banking_deposits_and_lines_of_credit_servicing |
|
|
| oracle | banking_enterprise_default_management |
|
|
| oracle | banking_loans_servicing |
|
|
| oracle | banking_party_management |
|
|
| oracle | banking_payments |
|
|
| oracle | banking_platform |
|
|
| oracle | banking_trade_finance |
|
|
| oracle | banking_treasury_management |
|
|
| oracle | business_intelligence |
|
|
| oracle | communications_asap |
|
|
| oracle | communications_billing_and_revenue_management |
|
|
| oracle | communications_cloud_native_core_console |
|
|
| oracle | communications_cloud_native_core_network_function_cloud_native_environment |
|
|
| oracle | communications_cloud_native_core_network_repository_function |
|
|
| oracle | communications_cloud_native_core_network_slice_selection_function |
|
|
| oracle | communications_cloud_native_core_policy |
|
|
| oracle | communications_cloud_native_core_security_edge_protection_proxy |
|
|
| oracle | communications_cloud_native_core_service_communication_proxy |
|
|
| oracle | communications_cloud_native_core_unified_data_repository |
|
|
| oracle | communications_convergence |
|
|
| oracle | communications_convergent_charging_controller |
|
|
| oracle | communications_diameter_signaling_router |
|
|
| oracle | communications_eagle_element_management_system |
|
|
| oracle | communications_eagle_ftp_table_base_retrieval |
|
|
| oracle | communications_element_manager |
|
|
| oracle | communications_evolved_communications_application_server |
|
|
| oracle | communications_interactive_session_recorder |
|
|
| oracle | communications_ip_service_activator |
|
|
| oracle | communications_messaging_server |
|
|
| oracle | communications_network_charging_and_control |
|
|
Vendors and products
- Apache Software Foundation Apache Log4j Core
- Apache Software Foundation Apache Log4j2
- Debian Apache-log4j2
- Debian Debian Linux
- NetApp Cloud Manager
- Oracle Oracle Agile Engineering Data Management
- Oracle Oracle Agile PLM MCAD Connector
- Oracle Oracle Agile PLM
- Oracle Autovue For Agile Product Lifecycle Management
- Oracle Banking Deposits And Lines Of Credit Servicing
- Oracle Banking Enterprise Default Management
- Oracle Banking Loans Servicing
Affected operating systems
| Linux | debian | apache-log4j2 | bullseye |
| Linux | debian | apache-log4j2 | buster |
| Linux | debian | debian_linux | 10.0 |
| Linux | debian | debian_linux | 11.0 |
| Other | sonicwall | 6bk1602-0aa12-0tp0_firmware | — |
| Other | sonicwall | 6bk1602-0aa22-0tp0_firmware | — |
| Other | sonicwall | 6bk1602-0aa32-0tp0_firmware | — |
| Other | sonicwall | 6bk1602-0aa42-0tp0_firmware | — |
| Other | sonicwall | 6bk1602-0aa52-0tp0_firmware | — |
Weakness classes (CWE)
CWE-20Improper Input Validation
Class
The 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.
Entry at MITRE CWE-20CWE-674Uncontrolled Recursion
Class
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Entry at MITRE CWE-674
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| ANSSI / CERT-FRLicence Ouverte 2.0, as of | CERTFR-2021-ALE-022 – [MaJ] Vulnérabilité dans Apache Log4j (clôturée 2022-05-04) (opens in a new tab)cert.cyber.gouv.fr | actively exploited |
References & sources
- NVD (NIST)vuln/detail/CVE-2021-45105advisory
- zerodayinitiative.comadvisories/ZDI-21-1541web
- oracle.comsecurity-alerts/cpujul2022.htmlweb, x_refsource_MISC
- oracle.comsecurity-alerts/cpujan2022.htmlweb, x_refsource_MISC
- oracle.comsecurity-alerts/cpuapr2022.htmlweb, x_refsource_MISC
- kb.cert.orgVU#930724web, Third-party advisory, x_refsource_CERT-VN
- debian.orgDSA-5024web, Vendor advisory, x_refsource_DEBIAN
- tools.cisco.com20211210 Vulnerabilities in Apache Log4j Library Affecting Cisco Products: December 2021web, Vendor advisory, x_refsource_CISCO
- security.netapp.comadvisory/ntap-20211218-0001web
- sec.cloudapps.cisco.comsecurity/center/content/CiscoSecurityAdvisory/cisco-sa-apache-l…web
- psirt.global.sonicwall.comvuln-detail/SNWLID-2021-0032web, x_refsource_CONFIRM
- logging.apache.orglog4j/2.x/security.htmlweb, x_refsource_MISC
- lists.fedoraproject.orgarchives/list/package-announce@lists.fedoraproject.org/message/…web
- lists.fedoraproject.orgarchives/list/package-announce@lists.fedoraproject.org/message/…web
- lists.debian.orgdebian-lts-announce/2021/12/msg00017.htmlweb
- Siemens ProductCERTproductcert/pdf/ssa-501673.pdfweb, x_refsource_CONFIRM
- Siemens ProductCERTproductcert/pdf/ssa-479842.pdfweb, x_refsource_CONFIRM
- openwall.com[oss-security] 20211218 CVE-2021-45105: Apache Log4j2 does not always protect from infinite recursion in lookup evaluationweb, Mailing list, x_refsource_MLIST
- security.netapp.comadvisory/ntap-20211218-0001x_refsource_CONFIRM
- zerodayinitiative.comadvisories/ZDI-21-1541x_refsource_MISC
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Product identifiers remappedNVD
Product mapping changed:- Oracle Agile PLM (9.3.6)
Show the original change
Individual changes of this event as published by NVD Type Action Before After Product configuration changed OR *cpe:2.3:a:oracle:agile_plm:9.3.6:*:*:*:*:*:*:*OR *cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:*Source identifier: nvd@nist.gov
Linked advisories
- SSA-479842 V1.0: Apache Log4j Vulnerabilities - Impact to Siemens Energy Sensformer (Platform, Basic and Advanced)Siemens ProductCERT
- SSA-501673 V1.0: Apache Log4j Denial of Service Vulnerability (CVE-2021-45105) - Impact to Siemens ProductsSiemens ProductCERT
- SSA-661247 V1.0: Apache Log4j Vulnerability (CVE-2021-44228, Log4Shell) - Impact to Siemens ProductsSiemens ProductCERT
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2021-45105"><img src="https://intel.neosec.eu/badge/cve/CVE-2021-45105.svg?lang=en" alt="CVE-2021-45105 – NEOSEC Intel" height="20"></a>