PyPA Advisory Database
PYSEC-2014-81
Details
httplib2 0.7.2, 0.8, and earlier, after an initial connection is made, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | httplib2 | All versions before 0.9 (fixed in 0.9) |
References
- http://www.ubuntu.com/usn/USN-1948-1
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706602
- http://seclists.org/oss-sec/2013/q2/257
- http://code.google.com/p/httplib2/issues/detail?id=282
- https://bugs.launchpad.net/httplib2/+bug/1175272
- http://www.securityfocus.com/bid/52179
- https://github.com/advisories/GHSA-q48q-77qv-cf9p