Resource management error in Python - CVE-2013-2099

 

Resource management error in Python - CVE-2013-2099

Published: February 13, 2023 / Updated: June 3, 2025


Vulnerability identifier: #VU110147
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-2099
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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.


Affected software

Python
Gentoo Linux
Fedora
python-pip
python-tornado
zeroinstall-injector
python-pymongo
dev-lang/python

How to mitigate CVE-2013-2099

Install update from vendor's website.

Python - update to 3.2 rc3
python-pip - update to 1.3.1-4.el6
python-tornado - update to 2.2.1-7.el6
zeroinstall-injector - update to 2.3-1.el6
python-pymongo - addressed in versions 2.5.2-3.el6.1, 2.5.2-3.el7, 2.5.2-4.el7, 2.5.2-8.fc22, 2.5.2-8.fc23, 3.0.3-1.el6, 3.0.3-1.el7, 3.0.3-1.fc21, 3.0.3-1.fc22, 3.0.3-1.fc23
dev-lang/python - update to 3.3.2-r1

External References

Related Security Bulletins