Description
Multiple serious vulnerabilities have been found in CPython (Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2. Malicious users can exploit these vulnerabilities to bypass the TLS protections, inject arbitrary HTTP headers or have unspecified impact.
Below is a complete list of vulnerabilities:
- CRLF injection vulnerability can be exploited to inject arbitrary HTTP headers via CRLF sequences in a URL.
- Integer overflow can be exploited via a negative data size value, which triggers a heap-based buffer overflow.
- TLS stripping vulnerability can be exploited by man-in-the-middleattackers to bypass the TLS protections via leveraging a network position between the client and the registry to block the StartTLS command (“StartTLS stripping attack”).
Technical details
- CRLF injection vulnerability is in the HTTPConnection.putheader function in urllib2 and urllib in CPython.
- Integer overflow occurs in the get_data function in file zipimport.c from smtplib library in CPython.
- TLS stripping vulnerability occurs in the smtplib library in CPython.
Original advisories
Exploitation
Public exploits exist for this vulnerability.
Related products
CVE list
- CVE-2016-5699 warning
- CVE-2016-5636 critical
- CVE-2016-0772 high
Read more
Find out the statistics of the vulnerabilities spreading in your region on statistics.securelist.com
Found an inaccuracy in the description of this vulnerability? Let us know!