Live threats

All CVEs / Python

CVE-2014-9365Python

Medium 5.8 No auth needed

Priority
50
CVSS 2.0
5.8
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Dec 12, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython2.0
pythonpython2.0.1
pythonpython2.1
pythonpython2.1.1
pythonpython2.1.2
pythonpython2.1.3
pythonpython2.2
pythonpython2.2.1
pythonpython2.2.2
pythonpython2.2.3
pythonpython2.3.1
pythonpython2.3.2
pythonpython2.3.3
pythonpython2.3.4
pythonpython2.3.5
pythonpython2.3.7
pythonpython2.4.1
pythonpython2.4.2
pythonpython2.4.3
pythonpython2.4.4
pythonpython2.4.6
pythonpython2.5.1
pythonpython2.5.2
pythonpython2.5.3
pythonpython2.5.4
pythonpython2.5.6
pythonpython2.5.150
pythonpython2.6.1
pythonpython2.6.2
pythonpython2.6.3
pythonpython2.6.4
pythonpython2.6.5
pythonpython2.6.6
pythonpython2.6.7
pythonpython2.6.8
pythonpython2.6.2150
pythonpython2.6.6150
pythonpython2.7.1
pythonpython2.7.1
pythonpython2.7.2
pythonpython2.7.3
pythonpython2.7.4
pythonpython2.7.5
pythonpython2.7.6
pythonpython2.7.7
pythonpython2.7.8
pythonpython2.7.1150
pythonpython2.7.1150
pythonpython2.7.2150
pythonpython3.0
pythonpython3.0.1
pythonpython3.1
pythonpython3.1.1
pythonpython3.1.2
pythonpython3.1.3
pythonpython3.1.4
pythonpython3.1.5
pythonpython3.1.2150
pythonpython3.2
pythonpython3.2

and 28 more in the JSON

Official sources

References

Links published by the sources. Open them with care.