CVE-2016-0772

NameCVE-2016-0772
DescriptionThe 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."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-522-1, DLA-871-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)wheezy2.7.3-6+deb7u2vulnerable
wheezy (security)2.7.3-6+deb7u3fixed
jessie2.7.9-2+deb8u1fixed
buster, stretch2.7.13-2fixed
sid2.7.14-2fixed
python3.2 (PTS)wheezy3.2.3-7vulnerable
wheezy (security)3.2.3-7+deb7u1fixed
python3.4 (PTS)jessie3.4.2-1vulnerable
python3.5 (PTS)stretch3.5.3-1fixed
buster3.5.4-2fixed
sid3.5.4-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.7source(unstable)2.7.12~rc1-1medium
python2.7sourcejessie2.7.9-2+deb8u1medium
python2.7sourcewheezy2.7.3-6+deb7u3mediumDLA-522-1
python3.2source(unstable)(unfixed)medium
python3.2sourcewheezy3.2.3-7+deb7u1mediumDLA-871-1
python3.4source(unstable)(unfixed)medium
python3.5source(unstable)3.5.2~rc1-1medium

Notes

[jessie] - python3.4 <no-dsa> (Will be fixed via a point release)
3.4 branch: https://hg.python.org/cpython/rev/d590114c2394
2.7 branch: https://hg.python.org/cpython/rev/b3ce713fb9be

Search for package or bug name: Reporting problems