VDB
Sign up
—

PYSEC-2012-17

Quick fix

PYSEC-2012-17 — tweepy: upgrade to the fixed version with the command below.

pip install --upgrade 'tweepy>=2.3.1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/tweepy
Introduced in: 0Fixed in: 2.3.1
Fixpip install --upgrade 'tweepy>=2.3.1'

References