Race condition in Python - CVE-2010-3493

 

Race condition in Python - CVE-2010-3493

Published: October 25, 2019 / Updated: June 3, 2025


Vulnerability identifier: #VU110149
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-2010-3493
CWE-ID: CWE-362
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

Multiple race conditions in smtpd.py in the smtpd module in Python 2.6, 2.7, 3.1, and 3.2 alpha allow remote attackers to cause a denial of service (daemon outage) by establishing and then immediately closing a TCP connection, leading to the accept function having an unexpected return value of None, an unexpected value of None for the address, or an ECONNABORTED, EAGAIN, or EWOULDBLOCK error, or the getpeername function having an ENOTCONN error, a related issue to CVE-2010-3492.


Affected software

Python
Gentoo Linux
Ubuntu
python2.4 (Ubuntu package)
python2.4-minimal (Ubuntu package)
python2.5-minimal (Ubuntu package)
python2.5 (Ubuntu package)
python2.6-minimal (Ubuntu package)
python2.6 (Ubuntu package)
python3.1-minimal (Ubuntu package)
python3.2-minimal (Ubuntu package)
dev-lang/python

How to mitigate CVE-2010-3493

Install update from vendor's website.

Python - update to 2.6 rc2
python2.4 (Ubuntu package) - update to 2.4.5-1ubuntu4.4
python2.4-minimal (Ubuntu package) - update to 2.4.5-1ubuntu4.4
python2.5-minimal (Ubuntu package) - update to 2.5.2-2ubuntu6.2
python2.5 (Ubuntu package) - update to 2.5.2-2ubuntu6.2
python2.6-minimal (Ubuntu package) - addressed in versions 2.6.5-1ubuntu6.1, 2.6.6-6ubuntu7.1, 2.6.7-4ubuntu1.1
python2.6 (Ubuntu package) - addressed in versions 2.6.5-1ubuntu6.1, 2.6.6-6ubuntu7.1, 2.6.7-4ubuntu1.1
python3.1-minimal (Ubuntu package) - addressed in versions 3.1.2-0ubuntu3.1, 3.1.2+20100915-0ubuntu4.1, 3.1.3-1ubuntu1.1
python3.2-minimal (Ubuntu package) - update to 3.2-1ubuntu1.1
dev-lang/python - update to 3.3.2-r1

External References

Related Security Bulletins