Advisory

GHSA-pwx5-xg7g-wpc5

Also known as: CVE-2012-5825, PYSEC-2012-17

Summary

Tweepy does not verify SSL Certificate

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 01:38 UTC
Modified
2024-11-18 23:01 UTC

Affected packages and fixes

tweepy

PyPI · All systems

Affected

  • introduced 0, fixed 3.0 (ecosystem)

Fixed versions

3.0

Fix

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

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences