First published: Mon Feb 01 2016(Updated: )
A vulnerability in smtplib allowing MITM attacker to perform a startTLS stripping attack. smtplib does not seem to raise an exception when the remote end (smtp server) is capable of negotiating starttls but fails to respond with 220 (ok) to an explicit call of SMTP.starttls(). This may allow a malicious MITM to perform a startTLS stripping attack if the client code does not explicitly check the response code for startTLS.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Python 2.7 | =3.5.0 | |
Python 2.7 | =3.5.1 | |
Python 2.7 | =3.0 | |
Python 2.7 | =3.0.1 | |
Python 2.7 | =3.1.0 | |
Python 2.7 | =3.1.1 | |
Python 2.7 | =3.1.2 | |
Python 2.7 | =3.1.3 | |
Python 2.7 | =3.1.4 | |
Python 2.7 | =3.1.5 | |
Python 2.7 | =3.2.0 | |
Python 2.7 | =3.2.1 | |
Python 2.7 | =3.2.2 | |
Python 2.7 | =3.2.3 | |
Python 2.7 | =3.2.4 | |
Python 2.7 | =3.2.5 | |
Python 2.7 | =3.2.6 | |
Python 2.7 | =3.3.0 | |
Python 2.7 | =3.3.1 | |
Python 2.7 | =3.3.2 | |
Python 2.7 | =3.3.3 | |
Python 2.7 | =3.3.4 | |
Python 2.7 | =3.3.5 | |
Python 2.7 | =3.3.6 | |
Python 2.7 | =3.4.0 | |
Python 2.7 | =3.4.1 | |
Python 2.7 | =3.4.2 | |
Python 2.7 | =3.4.3 | |
Python 2.7 | =3.4.4 | |
Python 2.7 | <=2.7.11 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-0772 is rated as a medium severity vulnerability due to its potential exploitation in a Man-in-the-Middle attack.
To fix CVE-2016-0772, update to a version of Python that is above 3.5.1 or implement strict TLS validation.
CVE-2016-0772 affects Python versions 2.7.11 and earlier, as well as 3.0 to 3.5.0 inclusive.
CVE-2016-0772 can enable a StartTLS stripping attack, allowing attackers to downgrade a secure connection to an unencrypted one.
While updating is the recommended solution, using alternative secure connection methods without relying on StartTLS can serve as a temporary workaround.