CVE-2012-5825
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.8
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| bullseye | Fixed | 3.1.0-2 |
| bookworm | Fixed | 3.1.0-2 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| tweepy | tweepy | - | |
References
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79831
- https://nvd.nist.gov/vuln/detail/CVE-2012-5825
- https://github.com/tweepy/tweepy/issues/279
- https://github.com/tweepy/tweepy/pull/400
- https://github.com/pypa/advisory-database/tree/main/vulns/tweepy/PYSEC-2012-17.yaml
- https://github.com/tweepy/tweepy
- https://security-tracker.debian.org/tracker/CVE-2012-5825
CWEs
CWE-20
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.