CVE catalog

CVE-2012-5825

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 sp

[CVE catalog]

Severity
High · CVSS 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.61% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantweepybookworm4.12.1-3fixed
CpetweepyNot reported3.0.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantweepysourcebookworm3.1.0-2lowNot reported[692444]
CpetweepycpeNot reported3.0.0Not reportedNVD-CVE-2012-5825Not reported

[Debian bug #692444]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [tweepy]

    Details (2)
    • 4.12.1-3 · all · bookworm

      Fixed · Fixed: 3.1.0-2

      nvd · tweepy · debian · bookworm; nvd · tweepy · debian · 12

    • 4.12.1-3 · all · bookworm

      Fixed · Fixed: 3.1.0-2

      nvd · tweepy · debian · bookworm; nvd · tweepy · debian · 12

  • Source package: [tweepy]

    Details (2)
    • 4.12.1-3 · all · bookworm

      Fixed · Fixed: 3.1.0-2

      nvd · tweepy · debian · bookworm; nvd · tweepy · debian · 12

    • 4.12.1-3 · all · bookworm

      Fixed · Fixed: 3.1.0-2

      nvd · tweepy · debian · bookworm; nvd · tweepy · debian · 12

Observed:

References