CVE-2022-23305Apache Log4j
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Log4j We alert you by email or Slack (account required).
- Priority
- 80
- CVSS 3.1
- 9.8
- EPSS
- 66.5% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Jan 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
By design, the JDBCAppender in Log4j 1.2.x accepts an SQL statement as a configuration parameter where the values to be inserted are converters from PatternLayout. The message converter, %m, is likely to always be included. This allows attackers to manipulate the SQL by entering crafted strings into input fields or headers of an application that are logged allowing unintended SQL queries to be executed. Note this issue only affects Log4j 1.x when specifically configured to use the JDBCAppender, which is not the default. Beginning in version 2.0-beta8, the JDBCAppender was re-introduced with proper support for parameterized SQL queries and further customization over the columns written to in logs. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.
What to do
- Apply the vendor's security update for Log4j.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | log4j:log4j |
≤ 1.2.17 |
no fixed version | — |
| Maven | org.zenframework.z8.dependencies.commons:log4j-1.2.17 |
≤ 2.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-65fg-84f6-3jq3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | log4j | ≥ 1.2 ≤ 1.2.17 |
| netapp | snapmanager | all |
| netapp | snapmanager | all |
| broadcom | brocade_sannav | all |
| qos | reload4j | < 1.2.18.2 |
| oracle | advanced_supply_chain_planning | 12.1 |
| oracle | advanced_supply_chain_planning | 12.2 |
| oracle | business_intelligence | 5.9.0.0.0 |
| oracle | business_intelligence | 12.2.1.3.0 |
| oracle | business_intelligence | 12.2.1.4.0 |
| oracle | business_process_management_suite | 12.2.1.3.0 |
| oracle | business_process_management_suite | 12.2.1.4.0 |
| oracle | communications_eagle_ftp_table_base_retrieval | 4.5 |
| oracle | communications_instant_messaging_server | 10.0.1.5.0 |
| oracle | communications_messaging_server | 8.1 |
| oracle | communications_network_integrity | 7.3.6 |
| oracle | communications_offline_mediation_controller | < 12.0.0.4.4 |
| oracle | communications_offline_mediation_controller | 12.0.0.5.0 |
| oracle | communications_unified_inventory_management | 7.4.1 |
| oracle | communications_unified_inventory_management | 7.4.2 |
| oracle | e-business_suite_cloud_manager_and_cloud_backup_module | < 2.2.1.1.1 |
| oracle | e-business_suite_cloud_manager_and_cloud_backup_module | 2.2.1.1.1 |
| oracle | e-business_suite_information_discovery | ≥ 12.2.3 ≤ 12.2.11 |
| oracle | enterprise_manager_base_platform | 13.4.0.0 |
| oracle | enterprise_manager_base_platform | 13.5.0.0 |
| oracle | financial_services_revenue_management_and_billing_analytics | 2.7.0.0 |
| oracle | financial_services_revenue_management_and_billing_analytics | 2.7.0.1 |
| oracle | financial_services_revenue_management_and_billing_analytics | 2.8.0.0 |
| oracle | healthcare_foundation | 8.1.0 |
| oracle | hyperion_data_relationship_management | < 11.2.8.0 |
| oracle | hyperion_infrastructure_technology | < 11.2.8.0 |
| oracle | identity_management_suite | 12.2.1.3.0 |
| oracle | identity_management_suite | 12.2.1.4.0 |
| oracle | identity_manager_connector | 11.1.1.5.0 |
| oracle | jdeveloper | 12.2.1.3.0 |
| oracle | middleware_common_libraries_and_tools | 12.2.1.4.0 |
| oracle | mysql_enterprise_monitor | ≤ 8.0.29 |
| oracle | retail_extract_transform_and_load | 13.2.5 |
| oracle | tuxedo | 12.2.2.0.0 |
| oracle | weblogic_server | 12.2.1.3.0 |
| oracle | weblogic_server | 12.2.1.4.0 |
| oracle | weblogic_server | 14.1.1.0.0 |
Official advisories
- Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.7 on RHEL 7 security update · Red Hat · RHSA-2024:5856 · Nov 25, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org Issue Tracking Mailing List Vendor Advisory
- logging.apache.org Vendor Advisory
- security.netapp.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory