p PatchFirst

CVE-2022-23302

CVE-2022-23302 · Deserialization of untrusted data in JMSSink in Apache Log4j 1.x

CVSS 8.8 · High · EPSS 63.8% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="apache-log4j1.2"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

JMSSink in all versions of Log4j 1.x is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration or if the configuration references an LDAP service the attacker has access to. The attacker can provide a TopicConnectionFactoryBindingName configuration causing JMSSink to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-4104. Note this issue only affects Log4j 1.x when specifically configured to use JMSSink, which is not the default. 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
Updated

Fixes in distributions

  • USN-7590-1 · Ubuntu Pro 14.04 LTS ·
  • RHSA-2022:0289 · Red Hat rhel eus 8.4 appstream ·
  • RHSA-2022:0291 · Red Hat rhel eus 8.2 appstream ·
  • RHSA-2022:0294 · Red Hat rhel e4s 8.1 appstream ·
  • RHSA-2022:0290 · Red Hat Enterprise Linux 8 appstream ·
  • RHSA-2022:1296 · Red Hat jboss enterprise application platform 7.4 el7 ·
  • RHSA-2022:1297 · Red Hat jboss enterprise application platform 7.4 el8 ·
  • RHSA-2024:5856 · Red Hat jboss enterprise application platform eus 7.1 el7 ·
  • RHSA-2022:5459 · Red Hat jboss enterprise application platform 6 el6 ·
  • RHSA-2022:5460 · Red Hat jboss enterprise application platform 6 el7 ·
  • RHSA-2022:0439 · Red Hat rhel software collections 3 el7 ·
  • RHSA-2022:0442 · Red Hat Enterprise Linux 7 client, Red Hat Enterprise Linux 7 computenode, Red Hat Enterprise Linux 7 server, Red Hat Enterprise Linux 7 workstation, Red Hat rhel aus 7.3 server, Red Hat rhel aus 7.4 server, Red Hat rhel aus 7.6 server, Red Hat rhel aus 7.7 server, Red Hat rhel e4s 7.6 server, Red Hat rhel e4s 7.7 server, Red Hat rhel els 6, Red Hat rhel tus 7.6 server, Red Hat rhel tus 7.7 server ·
  • RHSA-2022:0524 · Red Hat jboss enterprise web server 3.1 el7 ·
  • RHSA-2022:0438 · Red Hat jboss enterprise application platform 6 el6, Red Hat jboss enterprise application platform 6 el7 ·
  • RHSA-2022:0436 · Red Hat jboss enterprise application platform 7.4 el7, Red Hat jboss enterprise application platform 7.4 el8 ·
  • RHSA-2022:0447 · Red Hat red hat single sign on 7.5 el7 ·
  • RHSA-2022:0475 · Red Hat rhev manager 4.4 el8 ·
  • RHSA-2022:0448 · Red Hat red hat single sign on 7.5 el8 ·
  • openSUSE-SU-2024:11838-1 · openSUSE Tumbleweed ·
  • USN-5998-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu Pro 16.04 LTS ·
  • openSUSE-SU-2022:0038-1 · openSUSE Leap 15.3, SUSE Package Hub 15 SP3 ·
  • SUSE-SU-2022:0355-1 · SUSE HPE Helion OpenStack 8, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 ·
  • SUSE-SU-2022:0354-1 · SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·
  • DLA-2905-1 · Debian 9 ·
  • SUSE-SU-2022:0226-1 · SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Development Tools 15 SP3, SUSE Linux Enterprise Real Time 15 SP2, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
  • openSUSE-SU-2022:0226-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2022:0214-1 · SUSE Enterprise Storage 6, SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server for SAP Applications 15, SUSE Linux Enterprise Server for SAP Applications 15 SP1 ·
  • openSUSE-SU-2022:0214-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2022:0212-1 · SUSE HPE Helion OpenStack 8, SUSE Linux Enterprise Server 12 SP2-BCL, SUSE Linux Enterprise Server 12 SP3-BCL, SUSE Linux Enterprise Server 12 SP3-LTSS, SUSE Linux Enterprise Server 12 SP4-LTSS, SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP3, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE Linux Enterprise Software Development Kit 12 SP5, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 8, SUSE OpenStack Cloud Crowbar 9 ·
  • ALSA-2022:0290 · AlmaLinux 8 ·
  • RLSA-2022:0290 · Rocky Linux 8 ·
  • SUSE-SU-2022:14881-1 · SUSE Linux Enterprise Point of Sale 11 SP3, SUSE Linux Enterprise Server 11 SP4-LTSS ·

Stack: system

Affected products and versions

  • apache log4j 1.x

    Versions
    • ≥ 1.0.1, < unspecified: Affected (custom)
    • ≥ unspecified, < 2.0-alpha1: Affected (custom)

    Update to 2.0-alpha1

  • apache-log4j1.2 Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.2.17-11

    Update to 1.2.17-11

  • apache-log4j1.2 Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.2.17-11

    Update to 1.2.17-11

  • apache-log4j1.2 Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.2.17-11

    Update to 1.2.17-11

  • apache-log4j1.2 Ubuntu Pro 14.04 LTS

    Versions
    • 1.2.17-3ubuntu1
    • 1.2.17-4ubuntu1
    • 1.2.17-4ubuntu2
    • 1.2.17-4ubuntu3
    • 1.2.17-4ubuntu3+esm1
    Affected ranges
    • ECOSYSTEM: < 1.2.17-4ubuntu3+esm2

    Update to 1.2.17-4ubuntu3+esm2

  • apache-log4j1.2 Ubuntu Pro 16.04 LTS

    Versions
    • 1.2.17-6ubuntu1
    • 1.2.17-7ubuntu1
    Affected ranges
    • ECOSYSTEM: < 1.2.17-7ubuntu1+esm1

    Update to 1.2.17-7ubuntu1+esm1

  • apache-log4j1.2 Ubuntu 18.04 LTS

    Versions
    • 1.2.17-7ubuntu2
    • 1.2.17-8
    • 1.2.17-8+deb10u1build0.18.04.1
    • 1.2.17-8+deb10u1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 1.2.17-8+deb10u1ubuntu0.2

    Update to 1.2.17-8+deb10u1ubuntu0.2

  • apache-log4j1.2 Ubuntu 20.04 LTS

    Versions
    • 1.2.17-8
    • 1.2.17-9
    • 1.2.17-9ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 1.2.17-9ubuntu0.2

    Update to 1.2.17-9ubuntu0.2

Original sources

Check your server →