Back to CVE records
Critical 9.8HealthcarePublished Jan 18, 2022

CVE-2022-23305SQL injection in JDBC Appender in Apache Log4j V1

Updated under an hour ago ()

Does this affect you?

It affects Apache Software Foundation Apache Log4j 1.x and 28 other products. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 66.54%, higher than 99% of scored CVEs. That is high: schedule it on your emergency patch path.

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.

CVSS
9.8 CRITICAL (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-89
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
66.54% (percentile 99)
Assigned by
apache
NVD analysis
Modified
Record last updated
May 27, 2026
First seen by InfoSec Signals
Oct 12, 2026

Affected products

Affected products
Apache Software Foundation Apache Log4j 1.x
apache_software_foundation:apache_log4j_1.x (from the name)
from 1.2.1 before unspecified; from unspecified before 2.0-alpha1
CNA record
apache log4j
apache:log4j
from 1.2 through 1.2.17
NVD
netapp snapmanager
netapp:snapmanager
all versions; all versions
NVD
broadcom brocade_sannav
broadcom:brocade_sannav
all versions
NVD
qos reload4j
qos:reload4j
before 1.2.18.2
NVD
oracle advanced_supply_chain_planning
oracle:advanced_supply_chain_planning
12.1; 12.2
NVD
oracle business_intelligence
oracle:business_intelligence
5.9.0.0.0; 12.2.1.3.0; 12.2.1.4.0
NVD
oracle business_process_management_suite
oracle:business_process_management_suite
12.2.1.3.0; 12.2.1.4.0
NVD
oracle communications_eagle_ftp_table_base_retrieval
oracle:communications_eagle_ftp_table_base_retrieval
4.5
NVD
oracle communications_instant_messaging_server
oracle:communications_instant_messaging_server
10.0.1.5.0
NVD
oracle communications_messaging_server
oracle:communications_messaging_server
8.1
NVD
oracle communications_network_integrity
oracle:communications_network_integrity
7.3.6
NVD
oracle communications_offline_mediation_controller
oracle:communications_offline_mediation_controller
before 12.0.0.4.4; 12.0.0.5.0
NVD
oracle communications_unified_inventory_management
oracle:communications_unified_inventory_management
7.4.1; 7.4.2
NVD
oracle e-business_suite_cloud_manager_and_cloud_backup_module
oracle:e-business_suite_cloud_manager_and_cloud_backup_module
before 2.2.1.1.1; 2.2.1.1.1
NVD
oracle e-business_suite_information_discovery
oracle:e-business_suite_information_discovery
from 12.2.3 through 12.2.11
NVD
oracle enterprise_manager_base_platform
oracle:enterprise_manager_base_platform
13.4.0.0; 13.5.0.0
NVD
oracle financial_services_revenue_management_and_billing_analytics
oracle:financial_services_revenue_management_and_billing_analytics
2.7.0.0; 2.7.0.1; 2.8.0.0
NVD
oracle healthcare_foundation
oracle:healthcare_foundation
8.1.0
NVD
oracle hyperion_data_relationship_management
oracle:hyperion_data_relationship_management
before 11.2.8.0
NVD
oracle hyperion_infrastructure_technology
oracle:hyperion_infrastructure_technology
before 11.2.8.0
NVD
oracle identity_management_suite
oracle:identity_management_suite
12.2.1.3.0; 12.2.1.4.0
NVD
oracle identity_manager_connector
oracle:identity_manager_connector
11.1.1.5.0
NVD
oracle jdeveloper
oracle:jdeveloper
12.2.1.3.0
NVD
oracle middleware_common_libraries_and_tools
oracle:middleware_common_libraries_and_tools
12.2.1.4.0
NVD
oracle mysql_enterprise_monitor
oracle:mysql_enterprise_monitor
through 8.0.29
NVD
oracle retail_extract_transform_and_load
oracle:retail_extract_transform_and_load
13.2.5
NVD
oracle tuxedo
oracle:tuxedo
12.2.2.0.0
NVD
oracle weblogic_server
oracle:weblogic_server
12.2.1.3.0; 12.2.1.4.0; 14.1.1.0.0
NVD

References

  • x-refsource-misc, vendor-advisory
  • x-refsource-misc, issue-tracking, mailing-list, vendor-advisory
  • mailing-list, x-refsource-mlist, third-party-advisory
  • x-refsource-misc, patch, third-party-advisory
  • x-refsource-confirm, third-party-advisory
  • x-refsource-misc, patch, third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.