CVE-2019-17571 Deserialization of Untrusted Data in Log4j

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code via deserialization in Log4j 1.x SocketServer if configured to listen for untrusted network traffic.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-17571?

CVE-2019-17571 is a critical unsafe deserialization vulnerability in Canonical Ubuntu Linux, published on 20 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-502

Which versions are affected by CVE-2019-17571?

4 open source packages ship an affected version, including log4j:log4j and org.zenframework.z8.dependencies.commons:log4j-1.2.17. It affects 17 products.

PackageAffectedFixed in
log4j:log4j MavenFrom 1.2 to 1.2.17None
log4j:log4j MavenFrom 1.2 to 1.2.17None
org.zenframework.z8.dependencies.commons:log4j-1.2.17 MavenAll versionsNone
org.zenframework.z8.dependencies.commons:log4j-1.2.17 MavenAll versionsNone
Linux distribution packages (31)
log4j Red Hat:rhel_els:6All versions0:1.2.14-6.7.el6_10
log4j-debuginfo Red Hat:rhel_els:6All versions0:1.2.14-6.7.el6_10
log4j-javadoc Red Hat:rhel_els:6All versions0:1.2.14-6.7.el6_10
log4j-manual Red Hat:rhel_els:6All versions0:1.2.14-6.7.el6_10
log4j SUSE:Enterprise Storage 5All versions1.2.15-126.3.1
log4j SUSE:HPE Helion OpenStack 8All versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Module for Basesystem 15All versions1.2.17-5.3.1
log4j SUSE:Linux Enterprise Module for Basesystem 15 SP1All versions1.2.17-5.3.1
log4j SUSE:Linux Enterprise Module for Development Tools 15All versions1.2.17-5.3.1
log4j SUSE:Linux Enterprise Module for Development Tools 15 SP1All versions1.2.17-5.3.1
log4j SUSE:Linux Enterprise Point of Sale 11 SP3All versions1.2.15-26.32.14.1
log4j SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions1.2.15-26.32.14.1
log4j SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server 12 SP2-BCLAll versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server 12 SP3-BCLAll versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server 12 SP4All versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server 12 SP5All versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Software Development Kit 12 SP4All versions1.2.15-126.3.1
log4j SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.2.15-126.3.1
log4j SUSE:OpenStack Cloud 7All versions1.2.15-126.3.1
log4j SUSE:OpenStack Cloud 8All versions1.2.15-126.3.1
log4j SUSE:OpenStack Cloud Crowbar 8All versions1.2.15-126.3.1
log4j openSUSE:Leap 15.1All versions1.2.17-lp151.5.3.1
log4j-mini openSUSE:Leap 15.1All versions1.2.17-lp151.5.3.1

Products include Apache Bookkeeper, Apache Log4j, Canonical Ubuntu Linux, Debian Debian Linux, Netapp Oncommand System Manager, Netapp Oncommand Workflow Automation and 11 more.

How do I fix CVE-2019-17571?

Product is end of life, replace it.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2019-17571 being exploited?

There is no known exploitation of CVE-2019-17571 in the wild and no public exploit code.

Public exploit code: 3 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CLEANSTART-2026-EJ90650, CLSA-2022-1655842760, CLSA-2022-1655843011, DEBIAN-CVE-2019-17571, DLA-2065-1, DSA-4686-1 and 11 more.

Is CVE-2019-17571 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free