PyPA Advisory Database
PYSEC-2012-17
Details
Tweepy 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, related to use of the Python httplib library.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | tweepy | All versions before 2.3.1 (fixed in 2.3.1) |