CVE-2016-0772
Publication date 2 September 2016
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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."
Status
Package | Ubuntu Release | Status |
---|---|---|
python2.7 | ||
22.04 LTS jammy |
Not affected
|
|
20.04 LTS focal |
Not affected
|
|
18.04 LTS bionic |
Not affected
|
|
16.04 LTS xenial |
Fixed 2.7.12-1ubuntu0~16.04.1
|
|
14.04 LTS trusty |
Fixed 2.7.6-8ubuntu0.3
|
|
python3.2 | ||
22.04 LTS jammy | Not in release | |
20.04 LTS focal | Not in release | |
18.04 LTS bionic | Not in release | |
16.04 LTS xenial | Not in release | |
14.04 LTS trusty | Not in release | |
python3.4 | ||
22.04 LTS jammy | Not in release | |
20.04 LTS focal | Not in release | |
18.04 LTS bionic | Not in release | |
16.04 LTS xenial | Not in release | |
14.04 LTS trusty |
Fixed 3.4.3-1ubuntu1~14.04.5
|
|
python3.5 | ||
22.04 LTS jammy | Not in release | |
20.04 LTS focal | Not in release | |
18.04 LTS bionic | Not in release | |
16.04 LTS xenial |
Fixed 3.5.2-2ubuntu0~16.04.1
|
|
14.04 LTS trusty |
Fixed 3.5.2-2ubuntu0~16.04.4~14.04.1
|
|
Notes
sbeattie
issue is fixed for xenial/python3.5 and xenial/python2.7 for packages in xenial-updates, but not xenial-security
Patch details
Package | Patch details |
---|---|
python2.7 | |
python3.4 |
Severity score breakdown
Parameter | Value |
---|---|
Base score |
|
Attack vector | Network |
Attack complexity | High |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | Low |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-3134-1
- Python vulnerabilities
- 22 November 2016