CVE-2016-0772 Security feature bypass in n/a

Medium 6.5 Published Updated

Man-in-the-middle attackers can bypass TLS encryption in Python's smtplib by blocking StartTLS commands, exposing email traffic to interception.

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

What is CVE-2016-0772?

CVE-2016-0772 is a medium-severity vulnerability in Python Python, published on 2 Sep 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The smtplib library in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 does not return an error when StartTLS fails, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."

Weakness: CWE-693

Which versions are affected by CVE-2016-0772?

It affects 1 product.

Products include Python Python.

How do I fix CVE-2016-0772?

Upgrade to a fixed version.

Is CVE-2016-0772 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Python Python vulnerabilities

Sources

Also known as AZL-109605, DEBIAN-CVE-2016-0772, DLA-871-1, GHSA-6m57-q338-h677, PSF-2016-3, UBUNTU-CVE-2016-0772.

Is CVE-2016-0772 in your software?

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

Check your SBOMs for free