Skip to content
OpenAdvisories
Unscored CVE-2014-9365 EUVD-2014-9187GHSA-fj2p-9cqv-m944

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 …

Published Dec 12, 2014 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 python2.7 2.7.9-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS python2.7 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 python +6 2.7.5-58.el7 RHSA-2017:1868
RHEL 2 python27-mod_wsgi 4.5.13-1.el6 RHSA-2017:1162
RHEL 2 python27-python +6 2.7.13-3.el6 RHSA-2017:1162
RHEL 2 python27-python-coverage 3.6-4.el6 RHSA-2017:1162
RHEL 2 python27-python-pip 8.1.2-2.el6 RHSA-2017:1162
RHEL 2 python27-python-setuptools 0.9.8-4.el6 RHSA-2017:1162
RHEL 2 python27-python-virtualenv 13.1.0-2.el6 RHSA-2017:1162

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 docbook5-style-xsl No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 python +6 2.7.5-58.0.1.el7 ELSA-2017-1868

Advisories 3

References