Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tweepy
  4. ›
  5. CVE-2012-5825

CVE-2012-5825: Tweepy does not verify SSL Certificate

May 17, 2022 (updated November 18, 2024)

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.

References

  • exchange.xforce.ibmcloud.com/vulnerabilities/79831
  • github.com/advisories/GHSA-pwx5-xg7g-wpc5
  • github.com/pypa/advisory-database/tree/main/vulns/tweepy/PYSEC-2012-17.yaml
  • github.com/tweepy/tweepy
  • github.com/tweepy/tweepy/issues/279
  • github.com/tweepy/tweepy/pull/400
  • nvd.nist.gov/vuln/detail/CVE-2012-5825

Code Behaviors & Features

Detect and mitigate CVE-2012-5825 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.0

Fixed versions

  • 3.0

Solution

Upgrade to version 3.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

pypi/tweepy/CVE-2012-5825.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:49 +0000.