Skip to content
Fencer Intel
medium 5.8

CVE-2014-9365 json

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 2014-12-12 11 y ago modified 2026-06-17 4 mo ago also EUVD-2014-9187

cvss
5.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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.

Patch / fix

  • python2.7 Debian 11 2.7.9-1

debian advisories DEBIAN-CVE-2014-9365

  • python RHEL 7 2.7.5-58.el7
  • tkinter RHEL 7 2.7.5-58.el7
  • python-libs RHEL 7 2.7.5-58.el7
  • python-test RHEL 7 2.7.5-58.el7
  • python-tools RHEL 7 2.7.5-58.el7
  • python27-python RHEL 2 SOFTWARE_COLLECTIONS 2.7.13-3.el6
  • python27-python RHEL 2 SOFTWARE_COLLECTIONS 2.7.13-3.el7
  • python27-tkinter RHEL 2 SOFTWARE_COLLECTIONS 2.7.13-3.el6

red hat advisories RHSA-2017:1868RHSA-2017:1162

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2014-9365 updated cvss 4.7

python: failure to validate certificates in the HTTP client with TLS (PEP 476)

  • Red Hat Enterprise Linux 5 python Red Hat Enterprise Linux 6 jython, python, tkinter, jython-demo, python-libs, python-test, +3 more Red Hat JBoss Enterprise Application Platform 6 jython-eap6 jython-eap6 Red Hat JBoss SOA Platform 4 jython Red Hat JBoss SOA Platform 5 jython Red Hat OpenShift Enterprise 2 jython
    +1 more products
    Red Hat Software Collections python33-python, python33-python-libs, python33-python-test, python33-python-tools, python33-python-tkinter
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) python 2.7.5-58.el7, python-libs 2.7.5-58.el7 Red Hat Enterprise Linux Client Optional (v. 7) tkinter 2.7.5-58.el7, python-test 2.7.5-58.el7, python-tools 2.7.5-58.el7 Red Hat Enterprise Linux ComputeNode (v. 7) python 2.7.5-58.el7, python-libs 2.7.5-58.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) tkinter 2.7.5-58.el7, python-test 2.7.5-58.el7, python-tools 2.7.5-58.el7 Red Hat Enterprise Linux Server (v. 7) python 2.7.5-58.el7, python-libs 2.7.5-58.el7 Red Hat Enterprise Linux Server Optional (v. 7) tkinter 2.7.5-58.el7, python-test 2.7.5-58.el7, python-tools 2.7.5-58.el7
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) python 2.7.5-58.el7, python-libs 2.7.5-58.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) tkinter 2.7.5-58.el7, python-test 2.7.5-58.el7, python-tools 2.7.5-58.el7
    fixed: vendor fix RHSA-2017:1868
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) python27-python 2.7.13-3.el6, python27-tkinter 2.7.13-3.el6, python27-mod_wsgi 4.5.13-1.el6, python27-python-pip 8.1.2-2.el6, python27-python-libs 2.7.13-3.el6, python27-python-test 2.7.13-3.el6, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-python 2.7.13-3.el7, python27-tkinter 2.7.13-3.el7, python27-mod_wsgi 4.5.13-1.el7, python27-python-pip 8.1.2-2.el7, python27-python-libs 2.7.13-3.el7, python27-python-test 2.7.13-3.el7, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) python27-python 2.7.13-3.el6, python27-tkinter 2.7.13-3.el6, python27-mod_wsgi 4.5.13-1.el6, python27-python-pip 8.1.2-2.el6, python27-python-libs 2.7.13-3.el6, python27-python-test 2.7.13-3.el6, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) python27-python 2.7.13-3.el7, python27-tkinter 2.7.13-3.el7, python27-mod_wsgi 4.5.13-1.el7, python27-python-pip 8.1.2-2.el7, python27-python-libs 2.7.13-3.el7, python27-python-test 2.7.13-3.el7, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) python27-python 2.7.13-3.el6, python27-tkinter 2.7.13-3.el6, python27-mod_wsgi 4.5.13-1.el6, python27-python-pip 8.1.2-2.el6, python27-python-libs 2.7.13-3.el6, python27-python-test 2.7.13-3.el6, +4 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-python 2.7.13-3.el7, python27-tkinter 2.7.13-3.el7, python27-mod_wsgi 4.5.13-1.el7, python27-python-pip 8.1.2-2.el7, python27-python-libs 2.7.13-3.el7, python27-python-test 2.7.13-3.el7, +4 more
    fixed: vendor fix RHSA-2017:1162
  • Red Hat Software Collections rh-python34-python, rh-python34-python-libs, rh-python34-python-test, rh-python34-python-tools, rh-python34-python-tkinter
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.01% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • python.org https://www.python.org/dev/peps/pep-0476/ referenced PoC, tagged "exploit" by a source, unverified
  • bugs.python.org http://bugs.python.org/issue22417 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.