Vulnerability in Python
CVE-2013-2099
Algorithmic complexity vulnerability in the ssl.match_hostname function in Python 3.2.x, 3.3.x, and earlier, and unspecified versions of python-backports-ssl_match_hostname as used for older Python versions, allows remote attackers to cause a denial of service (CPU consumption) via multiple wildcard characters in the common name in a certificate.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.049, 92.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python — versions 3.2.0, 3.2.1, 3.2.2
- Canonical Ubuntu Linux — versions 12.04, 12.10, 13.04
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, vanschelven/fpvs). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi
- USN-1984-1 (vendor-advisory)
- secunia.com/advisories/55116 (third-party-advisory, Vendor Advisory)
- RHSA-2016:1166 (vendor-advisory)
- USN-1985-1 (vendor-advisory)
- bugs.python.org/issue17980 (Patch)
- secunia.com/advisories/55107 (third-party-advisory, Vendor Advisory)
- RHSA-2014:1690 (vendor-advisory)
- USN-1983-1 (vendor-advisory)
- [oss-security] 20130515 Re: CVE Request (minor) -- Python 3.2: DoS when matching certificate with many '*' wildcard characters {was: CVE Request (minor) -- python-backports-ssl_match_hostname: Denial of service when matching certificate with many '*' wildcard characters } (mailing-list)