{"id":"CVE-2012-5825","published":"2012-11-04T22:00:00Z","modified":"2024-08-06T21:21:27Z","title":"Tweepy does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00609,"percentile":0.50124,"provenance":"source"},"cwes":[],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79831","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":10.02}]},"affected":[{"ecosystem":"PyPI","package":"tweepy","vulnerableRanges":["<3.0","<2.3.1"],"patched":["3.0","2.3.1"],"from":["GHSA-pwx5-xg7g-wpc5","PYSEC-2012-17"],"provenance":"source"}],"summary":{"text":"Tweepy, a Python library for the Twitter API, fails to verify that the server hostname matches a name in the X.509 certificate's Common Name or subjectAltName fields, a flaw tied to its use of the Python httplib library. An attacker positioned as a man-in-the-middle can present any valid certificate to impersonate the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:57Z"},"euvd":{"id":"EUVD-2012-0031","exploited":false,"provenance":"source"}}