Debian DLA-1663-1 : python3.4 security update
Critical Nessus Plugin ID 122036
SynopsisThe remote Debian host is missing a security update.
DescriptionThis DLA fixes a a problem parsing x509 certificates, an pickle integer overflow, and some other minor issues :
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.'
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.
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.
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.
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.
NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
SolutionUpgrade the affected packages.