Debian Security Advisory

DLA-1663-1 python3.4 -- LTS security update

Date Reported:
07 Feb 2019
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2016-0772, CVE-2016-5636, CVE-2016-5699, CVE-2018-20406, CVE-2019-5010.
More information:

This DLA fixes a a problem parsing x509 certificates, an pickle integer overflow, and some other minor issues:

  • CVE-2016-0772

    The smtplib library in CPython 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."

  • CVE-2016-5636

    Integer overflow in the get_data function in zipimport.c in CPython allows remote attackers to have unspecified impact via a negative data size value, which triggers a heap-based buffer overflow.

  • CVE-2016-5699

    CRLF injection vulnerability in the HTTPConnection.putheader function in urllib2 and urllib in CPython allows remote attackers to inject arbitrary HTTP headers via CRLF sequences in a URL.

  • CVE-2018-20406

    Modules/_pickle.c has an integer overflow via a large LONG_BINPUT value that is mishandled during a resize to twice the size attempt. This issue might cause memory exhaustion, but is only relevant if the pickle format is used for serializing tens or hundreds of gigabytes of data.

  • CVE-2019-5010

    NULL pointer dereference using a specially crafted X509 certificate.

For Debian 8 Jessie, these problems have been fixed in version 3.4.2-1+deb8u2.

We recommend that you upgrade your python3.4 packages.

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