National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2016-0772 Detail

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."

Source:  MITRE      Last Modified:  09/02/2016

Quick Info

CVE Dictionary Entry:
CVE-2016-0772
Original release date:
09/02/2016
Last revised:
01/04/2018
Source:
US-CERT/NIST

Impact

CVSS Severity (version 3.0):
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 (legend)
Impact Score:
4.2
Exploitability Score:
2.2
CVSS Version 3 Metrics:
Attack Vector (AV):
Network
Attack Complexity (AC):
High
Privileges Required (PR):
None
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
Low
Integrity (I):
High
Availability (A):
None
CVSS Severity (version 2.0):
CVSS v2 Base Score:
5.8 MEDIUM
Vector:
(AV:N/AC:M/Au:N/C:P/I:P/A:N) (legend)
Impact Subscore:
4.9
Exploitability Subscore:
8.6
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Medium
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://rhn.redhat.com/errata/RHSA-2016-1626.html External Source REDHAT RHSA-2016:1626
http://rhn.redhat.com/errata/RHSA-2016-1627.html External Source REDHAT RHSA-2016:1627
http://rhn.redhat.com/errata/RHSA-2016-1628.html External Source REDHAT RHSA-2016:1628
http://rhn.redhat.com/errata/RHSA-2016-1629.html External Source REDHAT RHSA-2016:1629
http://rhn.redhat.com/errata/RHSA-2016-1630.html External Source REDHAT RHSA-2016:1630
http://www.openwall.com/lists/oss-security/2016/06/14/9 Mailing List External Source MLIST [oss-security] 20160614 Python CVE-2016-0772: smtplib StartTLS stripping attack
http://www.securityfocus.com/bid/91225 External Source BID 91225
http://www.splunk.com/view/SP-CAAAPSV External Source CONFIRM http://www.splunk.com/view/SP-CAAAPSV
http://www.splunk.com/view/SP-CAAAPUE External Source CONFIRM http://www.splunk.com/view/SP-CAAAPUE
https://bugzilla.redhat.com/show_bug.cgi?id=1303647 Issue Tracking; Third Party Advisory External Source CONFIRM https://bugzilla.redhat.com/show_bug.cgi?id=1303647
https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5 Release Notes External Source CONFIRM https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5
https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2 Release Notes External Source CONFIRM https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2
https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS Release Notes External Source CONFIRM https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS
https://hg.python.org/cpython/rev/b3ce713fb9be Patch External Source CONFIRM https://hg.python.org/cpython/rev/b3ce713fb9be
https://hg.python.org/cpython/rev/d590114c2394 Patch External Source CONFIRM https://hg.python.org/cpython/rev/d590114c2394
https://security.gentoo.org/glsa/201701-18 External Source GENTOO GLSA-201701-18

Technical Details

Vulnerability Type (View All)

  • Protection Mechanism Failure (CWE-693)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:python:python:3.5.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.5.1:*:*:*:*:*:*:*
Configuration 2
OR
cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.4:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.5:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.3.6:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.0:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.1:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.2:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.3:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.4.4:*:*:*:*:*:*:*
Configuration 3
OR
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*    versions up to (including) 2.7.11

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 8 change records found - show changes