CVE-2014-9365

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

Published Dec 12, 2014 CVSS 3.0 · 4.7 Medium EPSS 3.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2014-9187 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.01459}

epss

{'score': 0.02442}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 1:40 PM
Reserved
Dec 11, 2014, 12:00 AM
Status
Modified
Published
Dec 12, 2014, 11:59 AM
Modified
Jun 17, 2026, 12:18 AM
Severity
Moderate
Public date
Dec 11, 2014, 12:00 AM