Advisory

PYSEC-2012-17

Also known as: CVE-2012-5825, GHSA-pwx5-xg7g-wpc5

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2012-11-04 22:55 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

tweepy

PyPI · All systems

Affected

  • introduced 0, fixed 2.3.1 (ecosystem)

Fixed versions

2.3.1

Fix

  • Fixed version 2.3.1
    pip install --upgrade tweepy==2.3.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences