CVE-2016-0772
Vulnerability Summary
Timeline
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."
CVSS Metrics
- v3.0•MEDIUM•Score: 6.5CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- v2.0•MEDIUM•Score: 5.8AV:N/AC:M/Au:N/C:P/I:P/A:N
EPSS Trends
Current EPSS score: 7.64%• Percentile: 92%
Techniques & Countermeasures
- CWE-693•Protection Mechanism Failure
The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
Affected Systems
- python•python
3.5.0 | 3.5.1 | 3.0 | 3.0.1 | 3.1.0 | 3.1.1 | 3.1.2 | 3.1.3 | 3.1.4 | 3.1.5 | 3.2.0 | 3.2.1 | 3.2.2 | 3.2.3 | 3.2.4 | 3.2.5 | 3.2.6 | 3.3.0 | 3.3.1 | 3.3.2 | 3.3.3 | 3.3.4 | 3.3.5 | 3.3.6 | 3.4.0 | 3.4.1 | 3.4.2 | 3.4.3 | 3.4.4 | ≤ 2.7.11
References (18)
- https://hg.python.org/cpython/rev/d590114c2394
- http://www.splunk.com/view/SP-CAAAPUE
- http://rhn.redhat.com/errata/RHSA-2016-1630.html
- http://rhn.redhat.com/errata/RHSA-2016-1627.html
- https://hg.python.org/cpython/rev/b3ce713fb9be
- http://rhn.redhat.com/errata/RHSA-2016-1629.html
- http://www.splunk.com/view/SP-CAAAPSV
- https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1303647
- https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5
- http://www.openwall.com/lists/oss-security/2016/06/14/9
- https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS
- https://security.gentoo.org/glsa/201701-18
- https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2
- http://www.securityfocus.com/bid/91225
- http://rhn.redhat.com/errata/RHSA-2016-1628.html
- http://rhn.redhat.com/errata/RHSA-2016-1626.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html