Race condition in Python - CVE-2010-3493
Published: October 25, 2019 / Updated: June 3, 2025
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
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
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
- http://bugs.python.org/issue6706
- http://bugs.python.org/issue9129
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
- http://secunia.com/advisories/43068
- http://secunia.com/advisories/50858
- http://secunia.com/advisories/51024
- http://secunia.com/advisories/51040
- http://svn.python.org/view/python/branches/py3k/Lib/smtpd.py?r1=84289&r2=84288&pathrev=84289
- http://svn.python.org/view?view=rev&revision=84289
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:215
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:216
- http://www.openwall.com/lists/oss-security/2010/09/09/6
- http://www.openwall.com/lists/oss-security/2010/09/11/2
- http://www.openwall.com/lists/oss-security/2010/09/22/3
- http://www.openwall.com/lists/oss-security/2010/09/24/3
- http://www.securityfocus.com/bid/44533
- http://www.ubuntu.com/usn/USN-1596-1
- http://www.ubuntu.com/usn/USN-1613-1
- http://www.ubuntu.com/usn/USN-1613-2
- http://www.vupen.com/english/advisories/2011/0212
- https://bugs.launchpad.net/zodb/+bug/135108
- https://bugzilla.redhat.com/show_bug.cgi?id=632200
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12210