Skip to main content
Network Thinking Solutions Logo

CVE-2022-23305

Log4j SQL injection in the JDBC Appender

All CVEs
CVE-2022-23305Published 1/18/2022

Log4j SQL injection in the JDBC Appender

Vendor advisory
CVSS9.8Critical

Overview

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
1/18/2022
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
log4j
apache
≥ 1.2, ≤ 1.2.17

Verify advisory

Source
snapmanager
netapp
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
brocade sannav
broadcom
Range not specified — verify advisory

Verify advisory

Source
reload4j
qos
< 1.2.18.2

Verify advisory

Source
advanced supply chain planning
oracle
12.1

Verify advisory

Source
advanced supply chain planning
oracle
12.2

Verify advisory

Source
business intelligence
oracle
5.9.0.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
business intelligence
oracle
12.2.1.3.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
business intelligence
oracle
12.2.1.4.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
business process management suite
oracle
12.2.1.3.0

Verify advisory

Source
business process management suite
oracle
12.2.1.4.0

Verify advisory

Source
communications eagle ftp table base retrieval
oracle
4.5

Verify advisory

Source
communications instant messaging server
oracle
10.0.1.5.0

Verify advisory

Source
communications messaging server
oracle
8.1

Verify advisory

Source
communications network integrity
oracle
7.3.6

Verify advisory

Source
communications offline mediation controller
oracle
< 12.0.0.4.4

Verify advisory

Source
communications offline mediation controller
oracle
12.0.0.5.0

Verify advisory

Source
communications unified inventory management
oracle
7.4.1

Verify advisory

Source
communications unified inventory management
oracle
7.4.2

Verify advisory

Source
e-business suite cloud manager and cloud backup module
oracle
< 2.2.1.1.1

Verify advisory

Source
e-business suite cloud manager and cloud backup module
oracle
2.2.1.1.1

Verify advisory

Source
e-business suite information discovery
oracle
≥ 12.2.3, ≤ 12.2.11

Verify advisory

Source
enterprise manager base platform
oracle
13.4.0.0

Verify advisory

Source
enterprise manager base platform
oracle
13.5.0.0

Verify advisory

Source
financial services revenue management and billing analytics
oracle
2.7.0.0

Verify advisory

Source
financial services revenue management and billing analytics
oracle
2.7.0.1

Verify advisory

Source
financial services revenue management and billing analytics
oracle
2.8.0.0

Verify advisory

Source
healthcare foundation
oracle
8.1.0

Verify advisory

Source
hyperion data relationship management
oracle
< 11.2.8.0

Verify advisory

Source
hyperion infrastructure technology
oracle
< 11.2.8.0

Verify advisory

Source
identity management suite
oracle
12.2.1.3.0

Verify advisory

Source
identity management suite
oracle
12.2.1.4.0

Verify advisory

Source
identity manager connector
oracle
11.1.1.5.0

Verify advisory

Source
jdeveloper
oracle
12.2.1.3.0

Verify advisory

Source
middleware common libraries and tools
oracle
12.2.1.4.0

Verify advisory

Source
mysql enterprise monitor
oracle
≤ 8.0.29

Verify advisory

Source
retail extract transform and load
oracle
13.2.5

Verify advisory

Source
tuxedo
oracle
12.2.2.0.0

Verify advisory

Source
weblogic server
oracle
12.2.1.3.0

Verify advisory

Source
weblogic server
oracle
12.2.1.4.0

Verify advisory

Source
weblogic server
oracle
14.1.1.0.0

Verify advisory

Source
Apache Log4j 1.x
Apache Software Foundation
≥ 1.2.1, < unspecified

Verify advisory

Source
Apache Log4j 1.x
Apache Software Foundation
≥ unspecified, < 2.0-alpha1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.