Description
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.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-httplib2 | 0.8-2 | — |
| Debian 13 | python-httplib2 | 0.8-2 | — |
| Debian 12 | python-httplib2 | 0.8-2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | httplib2 | < 0.10.1 | 0.10.1 | GHSA-q48q-77qv-cf9p |
| PyPI | httplib2 | < 0.9 | 0.9 | PYSEC-2014-81 |