Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2014-9365

Publication date 12 December 2014

Last updated 24 July 2024


Ubuntu priority

The HTTP clients in the (1) httplib, (2) urllib, (3) urllib2, and (4) xmlrpclib libraries in CPython (aka Python) 2.x before 2.7.9 and 3.x before 3.4.3, when accessing an HTTPS URL, do not (a) check the certificate against a trust store or verify that the server hostname matches a domain name in the subject's (b) Common Name or (c) subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.

Read the notes from the security team

Status

Package Ubuntu Release Status
python2.7 17.10 artful
Not affected
17.04 zesty
Not affected
16.10 yakkety
Not affected
16.04 LTS xenial
Not affected
15.10 wily
Not affected
15.04 vivid
Not affected
14.04 LTS trusty Ignored
12.04 LTS precise Ignored
python3.2 17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
15.10 wily Not in release
15.04 vivid Not in release
14.04 LTS trusty Not in release
12.04 LTS precise Ignored
python3.4 17.10 artful Not in release
17.04 zesty Not in release
16.10 yakkety Not in release
16.04 LTS xenial Not in release
15.10 wily
Not affected
15.04 vivid
Not affected
14.04 LTS trusty
Fixed 3.4.3-1ubuntu1~14.04.2
12.04 LTS precise Not in release

Notes


mdeslaur

This is https://www.python.org/dev/peps/pep-0476/ Before this was implemented in python 2.7.9 and 3.4.3, applications needed to verify certificate validity themselves. This is quite a large change to backport into stable releases, and the change in behaviour most certainly will break certain setups.


tyhicks

We're considering the possibility of offering an opt-in fix for this issue via PEP 493 if the backport is not too invasive python3.4 in Ubuntu 14.04 LTS can be configured to perform full certificate verification via the /etc/python3.4/cert-verification.conf configuration file


mdeslaur

we will not be fixing this in Ubuntu 14.04 LTS before EoL. Users are encouraged to migrate to a more recent Ubuntu version, or migrate their applications to python 3.