What’s Vulnerable › Vulnerabilities
CVE-2012-5825
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2012-11-04 · updated 2026-09-17
- Weakness: CWE-20
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.
Affected products
- Tweepy: before 3.0.0 — fixed in 3.0.0
How to fix
Upgrade to a fixed version: Tweepy 3.0.0. Check the vendor advisory for mitigations.
References
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79831
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79831
Get alerted when CVE-2012-5825 or the next vulnerability affects your stack