{"id":"CVE-2012-5825","aliases":["DEBIAN-CVE-2012-5825","EUVD-2012-0031","GHSA-pwx5-xg7g-wpc5","PYSEC-2012-17","UBUNTU-CVE-2012-5825"],"status":"published","title":"Tweepy does not verify SSL Certificate","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.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00604,"percentile":0.49163,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2012-11-04T22:00:00Z","modified":"2026-10-23T18:03:17Z","fixes":[{"ecosystem":"PyPI","package":"tweepy","fixed_in":["3.0","2.3.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"tweepy","fixed_in":["3.1.0-2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"tweepy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"tweepy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0-2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"tweepy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0"}]}],"versions":["1.1","1.10","1.11","1.12","1.13","1.2","1.3","1.4","1.5","1.6","1.7.1","1.8","1.9","2.0","2.1","2.2","2.3","2.3.0"]},{"source":"osv","ecosystem":"PyPI","package":"tweepy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1"}]}],"versions":["1.1","1.10","1.11","1.12","1.13","1.2","1.3","1.4","1.5","1.6","1.7.1","1.8","1.9","2.0","2.1","2.2","2.3","2.3.0"]}],"products":[{"vendor":"tweepy","product":"tweepy"}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79831","tags":["vdb-entry","x_refsource_XF","x_transferred","Permissions Required","web"]},{"url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf","tags":["x_refsource_MISC","x_transferred","Exploit","evidence","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5825","tags":["advisory"]},{"url":"https://github.com/tweepy/tweepy/issues/279","tags":["web"]},{"url":"https://github.com/tweepy/tweepy/pull/400","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tweepy/PYSEC-2012-17.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pwx5-xg7g-wpc5","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-5825","tags":["advisory"]},{"url":"https://github.com/tweepy/tweepy","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2012-5825","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-5825","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2012-5825","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.","status":"published","published":"2012-11-04T22:00:00Z","modified":"2024-08-06T21:21:27.669Z","updated_at":"2026-11-02T14:34:49.600255Z"}],"euvd":[{"id":"EUVD-2012-0031","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.","status":"published","published":"2012-11-04T22:00:00Z","modified":"2024-08-06T21:21:27Z","updated_at":"2026-11-03T01:56:03.550057Z"}],"ghsa":[{"id":"GHSA-pwx5-xg7g-wpc5","title":"Tweepy does not verify SSL Certificate ","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.","status":"published","published":"2022-05-17T01:38:35Z","modified":"2024-11-18T22:57:07Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"medium"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:38:20.833758Z"}],"nvd":[{"id":"CVE-2012-5825","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.","status":"published","published":"2012-11-04T22:55:04.997Z","modified":"2026-09-17T14:22:42.537Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:16.536025Z"}],"osv":[{"id":"DEBIAN-CVE-2012-5825","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.","status":"published","published":"2012-11-04T22:55:04.997Z","modified":"2026-10-23T18:03:17.423092778Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:25.218101Z"},{"id":"GHSA-pwx5-xg7g-wpc5","title":"Tweepy does not verify SSL Certificate ","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.","status":"published","published":"2022-05-17T01:38:35Z","modified":"2024-11-18T23:01:15.491149Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"},{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"CVE-2012-5825","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.","status":"published","published":"2012-11-04T22:55:04Z","modified":"2026-04-10T03:42:33.069114Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"PYSEC-2012-17","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.","status":"published","published":"2012-11-04T22:55:00Z","modified":"2026-06-10T17:02:47.553093749Z","updated_at":"2026-11-02T15:52:51.254177Z"},{"id":"UBUNTU-CVE-2012-5825","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.","status":"withdrawn","published":"2012-11-04T22:55:00Z","modified":"2025-07-16T07:31:03.322082Z","updated_at":"2026-11-02T15:54:06.854805Z"}]}}
