CVE-2019-12855 Improper Certificate Validation in Twisted

High 7.4 Published Updated

Attackers can perform man-in-the-middle attacks on XMPP connections because the Twisted library fails to verify TLS certificates.

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-12855?

CVE-2019-12855 is a high-severity vulnerability in n/a, published on 16 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In words.protocols.jabber.xmlstream in Twisted through 19.2.1, XMPP support did not verify certificates when used with TLS, allowing an attacker to MITM connections.

Weakness: CWE-295

Which versions are affected by CVE-2019-12855?

3 open source packages ship an affected version, including twisted and Twisted. It affects 1 product.

PackageAffectedFixed in
twisted PyPIAll versions19.7.0rc1
twisted PyPIAll versions19.7.0rc1
Twisted PyPIAll versions19.7.0rc1
Linux distribution packages (12)
python-Twisted SUSE:Enterprise Storage 4All versions15.2.1-9.8.1
python-Twisted SUSE:Enterprise Storage 5All versions15.2.1-9.8.1
python-Twisted SUSE:HPE Helion OpenStack 8All versions15.2.1-9.8.1
python-Twisted SUSE:Linux Enterprise Module for Web and Scripting 12All versions15.2.1-9.8.1
python-Twisted SUSE:OpenStack Cloud 7All versions15.2.1-9.8.1
python-Twisted SUSE:OpenStack Cloud 8All versions15.2.1-9.8.1
python-Twisted SUSE:OpenStack Cloud 9All versions15.2.1-9.8.1
python-Twisted SUSE:OpenStack Cloud Crowbar 8All versions15.2.1-9.8.1
python-Twisted SUSE:OpenStack Cloud Crowbar 9All versions15.2.1-9.8.1
python-Twisted SUSE:Package Hub 15All versions17.9.0-bp150.4.6.1
python-Twisted openSUSE:Leap 15.0All versions17.9.0-lp151.3.6.1
python-Twisted openSUSE:Leap 15.1All versions17.9.0-lp151.3.6.1

Products include Twisted Twisted.

How do I fix CVE-2019-12855?

Upgrade twisted to 19.7.0rc1 or later.

Is CVE-2019-12855 being exploited?

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

Sources

Also known as AZL-6818, DEBIAN-CVE-2019-12855, GHSA-65rm-h285-5cc5, PYSEC-2019-129, SUSE-SU-2019:2212-1, SUSE-SU-2019:2453-1 and 3 more.

Is CVE-2019-12855 in your software?

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

Check your SBOMs for free