VDB
GHSA-6m57-q338-h677
GHSA-6m57-q338-h677
PUBLISHED
CVSS 6.5 MEDIUM
Record from GitHub Advisory Database · Published May 14, 2022
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."
Risk scores
CVSS 3.0
6.5
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Timeline
- May 14, 2022 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-6m57-q338-h677
vulnetix vdb fixes GHSA-6m57-q338-h677
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-6m57-q338-h677/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html url
- http://rhn.redhat.com/errata/RHSA-2016-1626.html url
- http://rhn.redhat.com/errata/RHSA-2016-1628.html url
- http://www.openwall.com/lists/oss-security/2016/06/14/9 url
- http://www.splunk.com/view/SP-CAAAPSV url
- http://www.splunk.com/view/SP-CAAAPUE url
- https://docs.python.org/3.4/whatsnew/changelog.html#python-3-4-5 url
- https://hg.python.org/cpython/raw-file/v2.7.12/Misc/NEWS url
- https://hg.python.org/cpython/rev/b3ce713fb9be url
- https://hg.python.org/cpython/rev/d590114c2394 url
- https://security.gentoo.org/glsa/201701-18 url
- http://rhn.redhat.com/errata/RHSA-2016-1627.html url
- http://rhn.redhat.com/errata/RHSA-2016-1629.html url
- http://rhn.redhat.com/errata/RHSA-2016-1630.html url
- http://www.securityfocus.com/bid/91225 url
- https://nvd.nist.gov/vuln/detail/CVE-2016-0772 advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1303647 url
- https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-2 url
- https://lists.debian.org/debian-lts-announce/2019/02/msg00011.html url