GitHub Advisoryadvisory · PyPI

GHSA-pwx5-xg7g-wpc5 Tweepy does not verify SSL Certificate

MEDIUM Published 2022-05-17 Modified 2024-11-18 Official page ↗
Aliases
CVE-2012-5825
Ecosystem
PyPI
Packages
tweepy
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-20
Reviewed
2023-08-29

Affected packages

• PyPI tweepy: < 3.0 → fixed in 3.0

Description

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References