Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2019-17571 EUVD-2020-0246GHSA-2qrg-x229-3v8q

Deserialization of Untrusted Data in Log4j

Published Dec 20, 2019 · Updated May 28, 2026 · Assigned by apache

Description

Included in Log4j 1.2 is a SocketServer class that is vulnerable to deserialization of untrusted data which can be exploited to remotely execute arbitrary code when combined with a deserialization gadget when listening to untrusted network traffic for log data. This affects Log4j versions up to 1.2 up to 1.2.17.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Log4j versions up to 1.2.17 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache-log4j1.2 1.2.17-9 —
Debian 13 apache-log4j1.2 1.2.17-9 —
Debian 12 apache-log4j1.2 1.2.17-9 —
Debian 10 apache-log4j1.2 1.2.17-8+deb10u1 DSA-4686-1
Debian 9 apache-log4j1.2 1.2.17-7+deb9u1 DSA-4686-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 apache-log4j1.2 1.2.17-5+deb8u1 DLA-2065-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS apache-log4j1.2 1.2.17-9ubuntu0.2 USN-5998-1
Ubuntu 18.04 LTS apache-log4j1.2 1.2.17-8+deb10u1build0.18.04.1 USN-5998-1, USN-4495-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS apache-log4j1.2 1.2.17-7ubuntu1+esm1 USN-5998-1
Ubuntu Pro 14.04 LTS apache-log4j1.2 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 log4j +2 1.2.17-16.el7_4 RHSA-2017:2423
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 6 ELS log4j +2 1.2.14-6.7.el6_10 RHSA-2022:5053
Red Hat JBoss Web Server 3 log4j-eap6 1.2.16-12.redhat_3.1.ep6.el6 RHSA-2017:1801
Red Hat JBoss Web Server 3 tomcat-native 1.2.8-10.redhat_10.ep7.el6 RHSA-2017:1801
Red Hat JBoss Web Server 3 tomcat7 +11 7.0.70-22.ep7.el6 RHSA-2017:1801
Red Hat JBoss Web Server 3 tomcat8 +11 8.0.36-24.ep7.el6 RHSA-2017:1801
Red Hat JBoss EAP 7 eap7-jboss-ec2-eap +1 7.0.8-1.GA_redhat_1.ep7.el6 RHSA-2017:2811
Red Hat JBoss EAP 6 jboss-ec2-eap +1 7.5.17-1.Final_redhat_4.ep6.el6 RHSA-2017:2638
Red Hat JBoss EAP 5 log4j 1.2.14-19.patch_01.ep5.el5 RHSA-2017:3399
ReleasePackageFixed inAdvisory
SLES 15 SP1 log4j 1.2.17-5.3.1 SUSE-SU-2020:0053-1
SLES 15 log4j 1.2.17-5.3.1 SUSE-SU-2020:0053-1
SLES 12 SP5 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SLES 12 SP4 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SLES 12 SP3 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SLES 12 SP1 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SLES 11 SP4 log4j 1.2.15-26.32.14.1 SUSE-SU-2020:14267-1
SLES for SAP 12 SP5 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SLES for SAP 12 SP4 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SLES for SAP 12 SP3 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SLES for SAP 12 SP2 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SLES for SAP 12 SP1 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SUSE OpenStack Cloud Crowbar 8 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SUSE OpenStack Cloud 8 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SUSE OpenStack Cloud 7 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SUSE Linux Enterprise Point of Sale 11 SP3 log4j 1.2.15-26.32.14.1 SUSE-SU-2020:14267-1
SUSE HPE Helion OpenStack 8 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
SUSE Enterprise Storage 5 log4j 1.2.15-126.3.1 SUSE-SU-2020:0054-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 log4j +1 1.2.17-lp151.5.3.1 openSUSE-SU-2020:0051-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 log4j +2 1.2.17-17.amzn2 ALAS2-2022-1739

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 log4j +2 1.2.17-16.el7_4 ELSA-2017-2423

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling druid 35.0.1-r1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

  • shadow-horse/CVE-2019-17571 ★ 78 · Dec 25, 2019

    Apache Log4j 1.2.X存在反序列化远程代码执行漏洞

  • HynekPetrak/log4shell-finder ★ 39 · Dec 14, 2021

    Fastest filesystem scanner for log4shell (CVE-2021-44228, CVE-2021-45046) and other vulnerable (CVE-2017-5645, CVE-2019-17571, CVE-2022-23305, CVE-2022-23307 ... ) instances of log4j library. Excelle…

  • Al1ex/CVE-2019-17571 ★ 1 · Jul 16, 2020

    Environment for CVE_2019_17571

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven log4j:log4j >= 1.2, <= 1.2.17 — GHSA-2qrg-x229-3v8q
Maven org.zenframework.z8.dependencies.commons:log4j-1.2.17 2.0 — GHSA-2qrg-x229-3v8q

Advisories 24

References