CVE Catalog

CVE-2012-5825

HighCVSS 7.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.60%

47th percentile - higher than 47% of all known CVEs

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. This allows man-in-the-middle attackers to spoof SSL servers using an arbitrary valid certificate, related to use of the Python httplib library.

Risk Assessment

A man-in-the-middle attacker can intercept or modify traffic that is believed to be encrypted. This may lead to leakage of credentials or other sensitive information.

Recommendation

Upgrade Tweepy to a version that properly verifies the hostname in the certificate, or apply fixes at the httplib layer. Until then, avoid transmitting sensitive data over connections assumed to be secure.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS