Vulnerability
CVE-2022-23305
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.
57 advisories report this vulnerability, across 13 ecosystems.
Advisories
-
ALAS2-2022-1750
Amazon Linux 2 2017.12 - ALAS2-2022-1750: important priority package update for log4j
-
ALSA-2022:0290
Important: parfait:0.5 security update
- CGA-55vm-588p-3r8h
- CGA-5j7m-f92h-53qh
- CGA-6v3w-9r6j-34xp
- CGA-828q-68j6-9fx6
- CGA-c3gh-92jj-vmmp
- CGA-cfhr-g5qg-9g7x
- CGA-cq7g-5v99-xrp6
- CGA-fmc4-m9w5-pcrp
- CGA-h62x-352x-wprw
- CGA-vx54-5wrw-q8hq
- CGA-w37c-6v44-mxgq
- CGA-xqwh-ch26-cqw9
-
DEBIAN-CVE-2022-23305
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…
-
DLA-2905-1
apache-log4j1.2 - security update
-
ELSA-2022-0290
ELSA-2022-0290: parfait:0.5 security update (IMPORTANT)
-
ELSA-2022-0442
ELSA-2022-0442: log4j security update (IMPORTANT)
-
ELSA-2022-9419
ELSA-2022-9419: log4j security update (IMPORTANT)
-
GHSA-65fg-84f6-3jq3
SQL Injection in Log4j 1.2.x
-
OESA-2022-1781
log4j12 security update
-
OESA-2026-4420
kafka security update
-
OESA-2026-4421
kafka security update
-
OESA-2026-4422
kafka security update
-
OESA-2026-4423
kafka security update
-
RHSA-2022:0289
Red Hat Security Advisory: parfait:0.5 security update
-
RHSA-2022:0290
Red Hat Security Advisory: parfait:0.5 security update
-
RHSA-2022:0291
Red Hat Security Advisory: parfait:0.5 security update
-
RHSA-2022:0294
Red Hat Security Advisory: parfait:0.5 security update
-
RHSA-2022:0436
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4 security update
-
RHSA-2022:0438
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4 security update
-
RHSA-2022:0439
Red Hat Security Advisory: rh-maven36-log4j12 security update
-
RHSA-2022:0442
Red Hat Security Advisory: log4j security update
-
RHSA-2022:0447
Red Hat Security Advisory: Red Hat Single Sign-On 7.5.1 security update on RHEL 7
-
RHSA-2022:0448
Red Hat Security Advisory: Red Hat Single Sign-On 7.5.1 security update on RHEL 8
-
RHSA-2022:0475
Red Hat Security Advisory: RHV Manager (ovirt-engine) security update [ovirt-4.4.10-1]
-
RHSA-2022:0524
Red Hat Security Advisory: Red Hat JBoss Web Server 3.1 Service Pack 14 Security Update
-
RHSA-2022:1296
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.4 security update
-
RHSA-2022:1297
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.4 security update
-
RHSA-2022:5459
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.24 security update
-
RHSA-2022:5460
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.24 security update
-
RHSA-2024:10207
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.11 Security update
-
RHSA-2024:5856
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.7 on RHEL 7 security update
-
RLSA-2022:0290
Important: parfait:0.5 security update
-
SUSE-SU-2022:0212-1
Security update for log4j
-
SUSE-SU-2022:0214-1
Security update for log4j
-
SUSE-SU-2022:0226-1
Security update for log4j12
-
SUSE-SU-2022:0354-1
Security update for elasticsearch, elasticsearch-kit, kafka, kafka-kit, logstash, openstack-monasca-agent, openstack-monasca-persister-java, openstack-monasca-persister-java-kit, openstack-monasca-thresh,…
-
SUSE-SU-2022:0355-1
Security update for elasticsearch, elasticsearch-kit, kafka, kafka-kit, logstash, openstack-monasca-agent, openstack-monasca-log-metrics, openstack-monasca-log-persister, openstack-monasca-log-transformer,…
-
SUSE-SU-2022:14881-1
Security update for log4j
-
SUSEVEX-CVE-2022-23305
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…
-
UBUNTU-CVE-2022-23305
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…
-
USN-5998-1
apache-log4j1.2 vulnerabilities
-
USN-7590-1
apache-log4j1.2 vulnerabilities
-
openSUSE-SU-2022:0038-1
Security update for kafka
-
openSUSE-SU-2022:0214-1
Security update for log4j
-
openSUSE-SU-2022:0226-1
Security update for log4j12
References
- http://www.openwall.com/lists/oss-security/2022/01/18/4
- https://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85y
- https://logging.apache.org/log4j/1.2/index.html
- https://security.netapp.com/advisory/ntap-20220217-0007/
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html