HighFix available
tweepy — security advisory
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.
- Products
- tweepy
- Affected versions
- Not specified
- Fixed versions
- 3.1.0-2
- CVEs
- CVE-2012-5825
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:24 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2012-5825
tweepy
Fixed versions: 3.1.0-2
Complete source record
{
"id": "b994d84586b636f0454049bdf70866f8d64fbac6be62649012f3f50df67f702d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2012-5825",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2012-5825",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2012-5825",
"products": [
{
"name": {
"value": "tweepy",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.1.0-2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2012-5825",
"aliases": [
"DEBIAN-CVE-2012-5825"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.0-2"
}
]
}
],
"package": {
"name": "tweepy",
"purl": "pkg:deb/debian/tweepy?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-5825.json"
},
"ecosystem_specific": {
"urgency": "low"
}
}
],
"modified": "2026-10-23T18:03:17.423092778Z",
"provider": "osv",
"upstream": [
"CVE-2012-5825"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2012-5825"
]
},
"related_cves": [
{
"value": "CVE-2012-5825",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 421028,
"published_at": "2012-11-04T22:55:04.997+00:00"
}