{"id":"CVE-2016-0772","state":"PUBLISHED","title":"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-middl","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.\"","publishedAt":"2016-09-02T14:00:00.000Z","updatedAt":"2024-08-05T22:30:04.119Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:22.336Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/0xxx/CVE-2016-0772.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-0772","state":"PUBLISHED","datePublished":"2016-09-02T14:00:00.000Z","dateUpdated":"2024-08-05T22:30:04.119Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2015-12-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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.\""}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://hg.python.org/cpython/rev/d590114c2394","tags":["x_refsource_CONFIRM"]},{"url":"http://www.splunk.com/view/SP-CAAAPUE","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1630.html","name":"RHSA-2016:1630","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1627.html","name":"RHSA-2016:1627","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://hg.python.org/cpython/rev/b3ce713fb9be","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1629.html","name":"RHSA-2016:1629","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.splunk.com/view/SP-CAAAPSV","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html","name":"[debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1303647","tags":["x_refsource_CONFIRM"]},{"url":"https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/14/9","name":"[oss-security] 20160614 Python CVE-2016-0772: smtplib StartTLS stripping attack","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201701-18","name":"GLSA-201701-18","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/91225","name":"91225","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1628.html","name":"RHSA-2016:1628","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1626.html","name":"RHSA-2016:1626","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","name":"openSUSE-SU-2020:0086","tags":["vendor-advisory","x_refsource_SUSE"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2020-01-21T21:06:21.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2016-06-11T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hg.python.org/cpython/rev/d590114c2394","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.splunk.com/view/SP-CAAAPUE","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1630.html","name":"RHSA-2016:1630","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1627.html","name":"RHSA-2016:1627","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://hg.python.org/cpython/rev/b3ce713fb9be","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1629.html","name":"RHSA-2016:1629","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.splunk.com/view/SP-CAAAPSV","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html","name":"[debian-lts-announce] 20190207 [SECURITY] [DLA 1663-1] python3.4 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1303647","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/06/14/9","name":"[oss-security] 20160614 Python CVE-2016-0772: smtplib StartTLS stripping attack","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201701-18","name":"GLSA-201701-18","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/91225","name":"91225","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1628.html","name":"RHSA-2016:1628","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1626.html","name":"RHSA-2016:1626","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","name":"openSUSE-SU-2020:0086","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T22:30:04.119Z"}}]}}}