Debian Security Advisory

DLA-522-1 python2.7 -- LTS security update

Date Reported:
21 Jun 2016
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2016-0772, CVE-2016-5636, CVE-2016-5699.
More information:
  • CVE-2016-0772

    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.

  • CVE-2016-5636

    Issue #26171: Fix possible integer overflow and heap corruption in zipimporter.get_data().

  • CVE-2016-5699

    Protocol injection can occur not only if an application sets a header based on user-supplied values, but also if the application ever tries to fetch a URL specified by an attacker (SSRF case) OR if the application ever accesses any malicious web server (redirection case).

For Debian 7 Wheezy, these problems have been fixed in version 2.7.3-6+deb7u3.

We recommend that you upgrade your python2.7 packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: