{"id":"UBUNTU-CVE-2012-5825","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.","modified":"2025-07-16T07:31:03.322082Z","published":"2012-11-04T22:55:00Z","withdrawn":"2025-07-18T16:42:48Z","upstream":["CVE-2012-5825"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2012-5825"},{"type":"REPORT","url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2012-5825"}],"affected":[{"package":{"name":"tweepy","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tweepy@3.1.0-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0-2"}]}],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.0-2","binary_name":"python-tweepy"},{"binary_version":"3.1.0-2","binary_name":"python-tweepy-doc"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-5825.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}