Security mailing lists by PureSourceCode

CVE-2022-23305

CRITICAL 9.8CVSS 3.1

SQL Injection in Log4j 1.2.x

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.

Published
18 Jan 2022
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-89
Also known as
GHSA-65fg-84f6-3jq3
Sources
NVDJSONOSV GHSA-65fg-84f6-3jq3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache log4j
cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*
>= 1.2, <= 1.2.17
NVD netapp snapmanager
cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:oracle:*:*
(no version)
NVD netapp snapmanager
cpe:2.3:a:netapp:snapmanager:-:*:*:*:*:sap:*:*
(no version)
NVD broadcom brocade_sannav
cpe:2.3:a:broadcom:brocade_sannav:-:*:*:*:*:*:*:*
(no version)
NVD qos reload4j
cpe:2.3:a:qos:reload4j:*:*:*:*:*:*:*:*
< 1.2.18.2 1.2.18.2
NVD oracle advanced_supply_chain_planning
cpe:2.3:a:oracle:advanced_supply_chain_planning:12.1:*:*:*:*:*:*:*
= 12.1
NVD oracle advanced_supply_chain_planning
cpe:2.3:a:oracle:advanced_supply_chain_planning:12.2:*:*:*:*:*:*:*
= 12.2
NVD oracle business_intelligence
cpe:2.3:a:oracle:business_intelligence:5.9.0.0.0:*:*:*:enterprise:*:*:*
= 5.9.0.0.0
NVD oracle business_intelligence
cpe:2.3:a:oracle:business_intelligence:12.2.1.3.0:*:*:*:enterprise:*:*:*
= 12.2.1.3.0
NVD oracle business_intelligence
cpe:2.3:a:oracle:business_intelligence:12.2.1.4.0:*:*:*:enterprise:*:*:*
= 12.2.1.4.0
NVD oracle business_process_management_suite
cpe:2.3:a:oracle:business_process_management_suite:12.2.1.3.0:*:*:*:*:*:*:*
= 12.2.1.3.0
NVD oracle business_process_management_suite
cpe:2.3:a:oracle:business_process_management_suite:12.2.1.4.0:*:*:*:*:*:*:*
= 12.2.1.4.0
NVD oracle communications_eagle_ftp_table_base_retrieval
cpe:2.3:a:oracle:communications_eagle_ftp_table_base_retrieval:4.5:*:*:*:*:*:*:*
= 4.5
NVD oracle communications_instant_messaging_server
cpe:2.3:a:oracle:communications_instant_messaging_server:10.0.1.5.0:*:*:*:*:*:*:*
= 10.0.1.5.0
NVD oracle communications_messaging_server
cpe:2.3:a:oracle:communications_messaging_server:8.1:*:*:*:*:*:*:*
= 8.1
NVD oracle communications_network_integrity
cpe:2.3:a:oracle:communications_network_integrity:7.3.6:*:*:*:*:*:*:*
= 7.3.6
NVD oracle communications_offline_mediation_controller
cpe:2.3:a:oracle:communications_offline_mediation_controller:*:*:*:*:*:*:*:*
< 12.0.0.4.4 12.0.0.4.4
NVD oracle communications_offline_mediation_controller
cpe:2.3:a:oracle:communications_offline_mediation_controller:12.0.0.5.0:*:*:*:*:*:*:*
= 12.0.0.5.0
NVD oracle communications_unified_inventory_management
cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:*
= 7.4.1
NVD oracle communications_unified_inventory_management
cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.2:*:*:*:*:*:*:*
= 7.4.2
NVD oracle e-business_suite_cloud_manager_and_cloud_backup_module
cpe:2.3:a:oracle:e-business_suite_cloud_manager_and_cloud_backup_module:*:*:*:*:*:*:*:*
< 2.2.1.1.1 2.2.1.1.1
NVD oracle e-business_suite_cloud_manager_and_cloud_backup_module
cpe:2.3:a:oracle:e-business_suite_cloud_manager_and_cloud_backup_module:2.2.1.1.1:*:*:*:*:*:*:*
= 2.2.1.1.1
NVD oracle e-business_suite_information_discovery
cpe:2.3:a:oracle:e-business_suite_information_discovery:*:*:*:*:*:*:*:*
>= 12.2.3, <= 12.2.11
NVD oracle enterprise_manager_base_platform
cpe:2.3:a:oracle:enterprise_manager_base_platform:13.4.0.0:*:*:*:*:*:*:*
= 13.4.0.0
NVD oracle enterprise_manager_base_platform
cpe:2.3:a:oracle:enterprise_manager_base_platform:13.5.0.0:*:*:*:*:*:*:*
= 13.5.0.0
NVD oracle financial_services_revenue_management_and_billing_analytics
cpe:2.3:a:oracle:financial_services_revenue_management_and_billing_analytics:2.7.0.0:*:*:*:*:*:*:*
= 2.7.0.0
NVD oracle financial_services_revenue_management_and_billing_analytics
cpe:2.3:a:oracle:financial_services_revenue_management_and_billing_analytics:2.7.0.1:*:*:*:*:*:*:*
= 2.7.0.1
NVD oracle financial_services_revenue_management_and_billing_analytics
cpe:2.3:a:oracle:financial_services_revenue_management_and_billing_analytics:2.8.0.0:*:*:*:*:*:*:*
= 2.8.0.0
NVD oracle healthcare_foundation
cpe:2.3:a:oracle:healthcare_foundation:8.1.0:*:*:*:*:*:*:*
= 8.1.0
NVD oracle hyperion_data_relationship_management
cpe:2.3:a:oracle:hyperion_data_relationship_management:*:*:*:*:*:*:*:*
< 11.2.8.0 11.2.8.0
NVD oracle hyperion_infrastructure_technology
cpe:2.3:a:oracle:hyperion_infrastructure_technology:*:*:*:*:*:*:*:*
< 11.2.8.0 11.2.8.0
NVD oracle identity_management_suite
cpe:2.3:a:oracle:identity_management_suite:12.2.1.3.0:*:*:*:*:*:*:*
= 12.2.1.3.0
NVD oracle identity_management_suite
cpe:2.3:a:oracle:identity_management_suite:12.2.1.4.0:*:*:*:*:*:*:*
= 12.2.1.4.0
NVD oracle identity_manager_connector
cpe:2.3:a:oracle:identity_manager_connector:11.1.1.5.0:*:*:*:*:*:*:*
= 11.1.1.5.0
NVD oracle jdeveloper
cpe:2.3:a:oracle:jdeveloper:12.2.1.3.0:*:*:*:*:*:*:*
= 12.2.1.3.0
NVD oracle middleware_common_libraries_and_tools
cpe:2.3:a:oracle:middleware_common_libraries_and_tools:12.2.1.4.0:*:*:*:*:*:*:*
= 12.2.1.4.0
NVD oracle mysql_enterprise_monitor
cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:*
<= 8.0.29
NVD oracle retail_extract_transform_and_load
cpe:2.3:a:oracle:retail_extract_transform_and_load:13.2.5:*:*:*:*:*:*:*
= 13.2.5
NVD oracle tuxedo
cpe:2.3:a:oracle:tuxedo:12.2.2.0.0:*:*:*:*:*:*:*
= 12.2.2.0.0
NVD oracle weblogic_server
cpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:*
= 12.2.1.3.0
NVD oracle weblogic_server
cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:*
= 12.2.1.4.0
NVD oracle weblogic_server
cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:*
= 14.1.1.0.0
OSV Maven log4j:log4j <= 1.2.17
OSV Maven org.zenframework.z8.dependencies.commons:log4j-1.2.17 <= 2.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Jan 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.