CVE-2012-5825Published Nov 4, 2012 · Nov 4Updated Sep 17
Tweepy does not verify SSL Certificate
High7.4Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| tweepy PyPI |
|
|
Original description
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.
From the CVE record · mitre
References
- exchange.xforce.ibmcloud.com/vulnerabilities/79831
- cs.utexas.edu/~shmat/shmat_ccs12.pdfExploit
- nvd.nist.gov/vuln/detail/CVE-2012-5825
- github.com/tweepy/tweepy/issues/279
- github.com/tweepy/tweepy/pull/400
- github.com/pypa/advisory-database/tree/main/vulns/tweepy/PYSEC-2012-17.yaml
- github.com/tweepy/tweepy
- github.com/advisories/GHSA-pwx5-xg7g-wpc5