BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-23305 in Apache Log4J and 27 more products

Critical 9.8

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

Affects 28 products from 5 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS66.5%
EPSS percentile99th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apache Log4J ≥ 1.2, ≤ 1.2.17
Broadcom Brocade Sannav No version listed by the source
Netapp Snapmanager No version listed by the source
Oracle Mysql Enterprise Monitor ≤ 8.0.29
Oracle Communications Messaging Server 8.1
Oracle Tuxedo 12.2.2.0.0
Oracle Enterprise Manager Base Platform 13.4.0.0 13.5.0.0
Oracle Business Intelligence 5.9.0.0.0 12.2.1.3.0 12.2.1.4.0
Oracle Advanced Supply Chain Planning 12.1 12.2
Oracle Communications Instant Messaging Server 10.0.1.5.0
Oracle Communications Network Integrity 7.3.6
Oracle Identity Management Suite 12.2.1.3.0 12.2.1.4.0
Oracle Identity Manager Connector 11.1.1.5.0
Oracle Retail Extract Transform And Load 13.2.5
Oracle Hyperion Data Relationship Management < 11.2.8.0
Oracle Business Process Management Suite 12.2.1.3.0 12.2.1.4.0
Oracle Healthcare Foundation 8.1.0
Oracle Hyperion Infrastructure Technology < 11.2.8.0
Oracle Financial Services Revenue Management And Billing Analytics 2.7.0.0 2.7.0.1 2.8.0.0
Oracle Communications Offline Mediation Controller 12.0.0.5.0 < 12.0.0.4.4
Oracle Communications Eagle Ftp Table Base Retrieval 4.5
Oracle Middleware Common Libraries And Tools 12.2.1.4.0
Oracle E-Business Suite Cloud Manager And Cloud Backup Module 2.2.1.1.1 < 2.2.1.1.1
Oracle E-Business Suite Information Discovery ≥ 12.2.3, ≤ 12.2.11
Oracle Communications Unified Inventory Management 7.4.1 7.4.2
Oracle Jdeveloper 12.2.1.3.0
Oracle Weblogic Server 12.2.1.3.0 12.2.1.4.0 14.1.1.0.0
Qos Reload4J < 1.2.18.2

Show 20 more products

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-23305
BreachSpider IDBS-2022-GLOBAL-071222-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-01-18
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-89: SQL Injection

Attacker inserts SQL commands into application queries through user-controlled input, allowing unauthorized database access.

Related attack patterns (CAPEC)

CAPEC-7 Blind SQL Injection via CWE-89

CAPEC-108 Command Line Execution through SQL Injection via CWE-89

CAPEC-109 Object Relational Mapping Injection via CWE-89

CAPEC-110 SQL Injection through SOAP Parameter Tampering via CWE-89

CAPEC-470 Expanding Control over the Operating System from the Database via CWE-89

Show all 6

CAPEC-66 SQL Injection via CWE-89

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2022-23305 in Log4j 1.2.x allows attackers to inject SQL statements through crafted input fields or headers, leading to unintended SQL queries execution.

The vulnerability exists in the JDBCAppender component of Log4j 1.2.x, where SQL statements can be manipulated by attackers through the use of the %m converter in PatternLayout, which is typically included in the SQL statement.

Questions

What is CVE-2022-23305?

CVE-2022-23305 in Log4j 1.2.x allows attackers to inject SQL statements through crafted input fields or headers, leading to unintended SQL queries execution.

What is the CVSS score for CVE-2022-23305?

CVE-2022-23305 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 66.5%.

Is CVE-2022-23305 actively exploited?

No confirmed active exploitation of CVE-2022-23305 as of 2026-09-25.

How do I remediate CVE-2022-23305?

Priority: IMMEDIATE. Advisory: https://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85y PSIRT: [email protected]

What systems are affected by CVE-2022-23305?

CVE-2022-23305 affects Apache Log4J; Broadcom Brocade Sannav; Netapp Snapmanager; Oracle Mysql Enterprise Monitor, Communications Messaging Server, Tuxedo, Enterprise Manager Base Platform, Business Intelligence, Advanced Supply Chain Planning, Communications Instant Messaging Server (plus 18 more products across 1 more vendor).

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Log4J","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.