Vulnerability in Python
CVE-2016-0772
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."
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS 0.154, 96.8th percentile (scored ); up from 0.145 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.145 · newest: 0.154 · change: +0.008
Affected products
- Python — versions 3.5.0, 3.5.1, 3.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (ARPSyndicate/cvemon, imhunterand/hackerone-publicy-disclosed, pankajkryadav/Hacktivity, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hg.python.org/cpython/rev/d590114c2394 (Patch)
- www.splunk.com/view/SP-CAAAPUE
- RHSA-2016:1630 (vendor-advisory)
- RHSA-2016:1627 (vendor-advisory)
- hg.python.org/cpython/rev/b3ce713fb9be (Patch)
- RHSA-2016:1629 (vendor-advisory)
- www.splunk.com/view/SP-CAAAPSV
- [debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security update (mailing-list)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- docs.python.org/3.4/whatsnew/changelog.html (Release Notes)