ADVISORIES

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

    Important CVE-2022-23302CVE-2022-23305CVE-2022-23307 Amazon Linux Updated 21 February 2022
  • ALSA-2022:0290

    Important: parfait:0.5 security update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 AlmaLinux Updated 29 October 2026
  • CGA-55vm-588p-3r8h
    CVE-2022-23305 Chainguard Updated 5 November 2026
  • CGA-5j7m-f92h-53qh
    CVE-2022-23305 ChainguardWolfi Updated 5 November 2026
  • CGA-6v3w-9r6j-34xp
    CVE-2022-23305 ChainguardWolfi Updated 5 November 2026
  • CGA-828q-68j6-9fx6
    CVE-2022-23305 Chainguard Updated 5 November 2026
  • CGA-c3gh-92jj-vmmp
    CVE-2022-23305 Chainguard Updated 5 November 2026
  • CGA-cfhr-g5qg-9g7x
    CVE-2022-23305 Chainguard Updated 5 November 2026
  • CGA-cq7g-5v99-xrp6
    CVE-2022-23305 Chainguard Updated 5 November 2026
  • CGA-fmc4-m9w5-pcrp
    CVE-2022-23305 ChainguardWolfi Updated 5 November 2026
  • CGA-h62x-352x-wprw
    CVE-2022-23305 Chainguard Updated 5 November 2026
  • CGA-vx54-5wrw-q8hq
    CVE-2022-23305 Chainguard Updated 5 November 2026
  • CGA-w37c-6v44-mxgq
    CVE-2022-23305 ChainguardWolfi Updated 5 November 2026
  • CGA-xqwh-ch26-cqw9
    CVE-2022-23305 Chainguard Updated 5 November 2026
  • 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…

    CVE-2022-23305 Debian Updated 20 November 2026
  • DLA-2905-1

    apache-log4j1.2 - security update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Debian Updated 20 November 2026
  • ELSA-2022-0290

    ELSA-2022-0290: parfait:0.5 security update (IMPORTANT)

    Important CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Oracle Linux Updated 27 January 2022
  • ELSA-2022-0442

    ELSA-2022-0442: log4j security update (IMPORTANT)

    Important CVE-2022-23302CVE-2022-23305CVE-2022-23307 Oracle Linux Updated 8 February 2022
  • ELSA-2022-9419

    ELSA-2022-9419: log4j security update (IMPORTANT)

    Important CVE-2017-5645CVE-2022-23302CVE-2022-23305CVE-2022-23307 Oracle Linux Updated 23 May 2022
  • GHSA-65fg-84f6-3jq3

    SQL Injection in Log4j 1.2.x

    Critical CVE-2022-23305 Maven Updated 8 June 2026
  • OESA-2022-1781

    log4j12 security update

    Critical CVE-2022-23305 openEuler Updated 18 August 2026
  • OESA-2026-4420

    kafka security update

    Critical CVE-2022-23302CVE-2022-23305CVE-2022-23307CVE-2023-25194 openEuler Updated 22 October 2026
  • OESA-2026-4421

    kafka security update

    Critical CVE-2022-23302CVE-2022-23305CVE-2022-23307CVE-2023-25194 openEuler Updated 22 October 2026
  • OESA-2026-4422

    kafka security update

    Critical CVE-2022-23302CVE-2022-23305CVE-2022-23307CVE-2023-25194 openEuler Updated 22 October 2026
  • OESA-2026-4423

    kafka security update

    Critical CVE-2022-23302CVE-2022-23305CVE-2022-23307CVE-2023-25194 openEuler Updated 22 October 2026
  • RHSA-2022:0289

    Red Hat Security Advisory: parfait:0.5 security update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:0290

    Red Hat Security Advisory: parfait:0.5 security update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:0291

    Red Hat Security Advisory: parfait:0.5 security update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:0294

    Red Hat Security Advisory: parfait:0.5 security update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:0436

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4 security update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:0438

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4 security update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:0439

    Red Hat Security Advisory: rh-maven36-log4j12 security update

    CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:0442

    Red Hat Security Advisory: log4j security update

    CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:0447

    Red Hat Security Advisory: Red Hat Single Sign-On 7.5.1 security update on RHEL 7

    CVE-2021-3859CVE-2021-4104CVE-2022-23302CVE-2022-23305 Red Hat Updated 13 November 2026
  • RHSA-2022:0448

    Red Hat Security Advisory: Red Hat Single Sign-On 7.5.1 security update on RHEL 8

    CVE-2021-3859CVE-2021-4104CVE-2022-23302CVE-2022-23305 Red Hat Updated 13 November 2026
  • RHSA-2022:0475

    Red Hat Security Advisory: RHV Manager (ovirt-engine) security update [ovirt-4.4.10-1]

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:0524

    Red Hat Security Advisory: Red Hat JBoss Web Server 3.1 Service Pack 14 Security Update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Red Hat Updated 13 November 2026
  • RHSA-2022:1296

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.4 security update

    Known exploited CVE-2021-4104CVE-2021-44832CVE-2021-45046CVE-2021-45105 Red Hat Updated 13 November 2026
  • RHSA-2022:1297

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.4 security update

    Known exploited CVE-2021-4104CVE-2021-44832CVE-2021-45046CVE-2021-45105 Red Hat Updated 13 November 2026
  • RHSA-2022:5459

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.24 security update

    CVE-2020-13935CVE-2020-14384CVE-2021-4104CVE-2022-23302 Red Hat Updated 13 November 2026
  • RHSA-2022:5460

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.24 security update

    CVE-2020-13935CVE-2020-14384CVE-2021-4104CVE-2022-23302 Red Hat Updated 13 November 2026
  • RHSA-2024:10207

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.11 Security update

    CVE-2021-3859CVE-2021-4104CVE-2022-23221CVE-2022-23305 Red Hat Updated 23 November 2026
  • RHSA-2024:5856

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.7 on RHEL 7 security update

    CVE-2019-10086CVE-2019-10174CVE-2019-12384CVE-2019-14379 Red Hat Updated 24 November 2026
  • RLSA-2022:0290

    Important: parfait:0.5 security update

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2022:0212-1

    Security update for log4j

    CVE-2022-23302CVE-2022-23305CVE-2022-23307 SUSE Updated 4 February 2026
  • SUSE-SU-2022:0214-1

    Security update for log4j

    CVE-2022-23302CVE-2022-23305CVE-2022-23307 SUSE Updated 4 February 2026
  • SUSE-SU-2022:0226-1

    Security update for log4j12

    CVE-2022-23302CVE-2022-23305CVE-2022-23307 SUSE Updated 4 February 2026
  • 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,…

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 SUSE Updated 4 February 2026
  • 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,…

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 SUSE Updated 2 May 2025
  • SUSE-SU-2022:14881-1

    Security update for log4j

    CVE-2022-23302CVE-2022-23305CVE-2022-23307 SUSE Updated 4 February 2026
  • 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…

    Important CVE-2022-23305 SUSE Updated 1 November 2026
  • 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…

    CVE-2022-23305 Ubuntu Updated 29 May 2026
  • USN-5998-1

    apache-log4j1.2 vulnerabilities

    CVE-2019-17571CVE-2022-23302CVE-2022-23305CVE-2022-23307 Ubuntu Updated 25 June 2026
  • USN-7590-1

    apache-log4j1.2 vulnerabilities

    CVE-2022-23302CVE-2022-23305CVE-2022-23307 Ubuntu Updated 29 May 2026
  • openSUSE-SU-2022:0038-1

    Security update for kafka

    CVE-2021-4104CVE-2022-23302CVE-2022-23305CVE-2022-23307 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2022:0214-1

    Security update for log4j

    CVE-2022-23302CVE-2022-23305CVE-2022-23307 openSUSE Updated 4 February 2026
  • openSUSE-SU-2022:0226-1

    Security update for log4j12

    CVE-2022-23302CVE-2022-23305CVE-2022-23307 openSUSE Updated 4 February 2026

References