Kaspersky ID:
KLA10866
Detect Date:
02/09/2016
Updated:
01/22/2024

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:

  1. CRLF injection vulnerability can be exploited to inject arbitrary HTTP headers via CRLF sequences in a URL.
  2. Integer overflow can be exploited via a negative data size value, which triggers a heap-based buffer overflow.
  3. 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

  1. CRLF injection vulnerability is in the HTTPConnection.putheader function in urllib2 and urllib in CPython.
  2. Integer overflow occurs in the get_data function in file zipimport.c from smtplib library in CPython.
  3. 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!
Kaspersky Next
Let’s go Next: redefine your business’s cybersecurity
Learn more
New Kaspersky!
Your digital life deserves complete protection!
Learn more
Confirm changes?
Your message has been sent successfully.