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.
References
| Link | Resource |
|---|---|
| http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf | Exploit |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/79831 | Permissions Required |
| http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf | Exploit |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/79831 | Permissions Required |
Configurations
History
17 Sep 2026, 14:22
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : 5.8
v3 : 7.4 |
| CPE | cpe:2.3:a:tweepy:tweepy:*:*:*:*:*:*:*:* | |
| References | () https://exchange.xforce.ibmcloud.com/vulnerabilities/79831 - Permissions Required |
Information
Published : 2012-11-04 22:55
Updated : 2026-09-17 14:22
NVD link : CVE-2012-5825
Mitre link : CVE-2012-5825
CVE.ORG link : CVE-2012-5825
JSON object : View
Products Affected
tweepy
- tweepy
CWE
CWE-20
Improper Input Validation
