This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 632200 - (CVE-2010-3493) CVE-2010-3493 Python: SMTP proxy RFC 2821 module DoS (uncaught exception) (Issue #9129)
CVE-2010-3493 Python: SMTP proxy RFC 2821 module DoS (uncaught exception) (Is...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
public=20100630,reported=20100908,sou...
: Security
Depends On: 693954 693955 693956 693961
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-09 08:01 EDT by Jan Lieskovsky
Modified: 2015-10-23 10:42 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-19 09:44:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2010-09-09 08:01:09 EDT
A race condition was found in the way Python's SMTP proxy
module (smtpd.py) processed retrieving of remote IP 
address the socket was connected to (the other end 
could close the connection sooner before the requester 
could get the peername). A remote, unauthenticated user 
could use this flaw to cause the running python SMTP 
instance to terminate with uncaught exception by 
issuing sequence of connection requests within short 
time interval.

References:
[1] http://bugs.python.org/issue9129

Upstream patch:
[2] http://svn.python.org/view?view=rev&revision=84289
Comment 1 Jan Lieskovsky 2010-09-09 08:03:41 EDT
Public issue proof of concept (from [1]):
=========================================
1, In one shell run: "python -m smtpd -n"
2, In another one run: "for i in {1..1000};do nmap -sT -p 8025 localhost;done"
Comment 2 Jan Lieskovsky 2010-09-09 08:04:55 EDT
This issue affects the versions of the python package, as shipped
with Red Hat Enterprise Linux 3, 4, and 5.

--

This issue affects the versions of the python package, as shipped
with Fedora release of 12 and 13.
Comment 7 Jan Lieskovsky 2010-09-09 09:05:43 EDT
CVE Request:
[1] http://www.openwall.com/lists/oss-security/2010/09/09/6
Comment 8 Josh Bressers 2010-12-15 14:02:36 EST
Upstream has fixed this in just the SMTP module:
http://svn.python.org/view?rev=87123&view=rev

It seems there isn't a nice way to fix this everywhere.
Comment 12 errata-xmlrpc 2011-05-05 14:20:48 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:0492 https://rhn.redhat.com/errata/RHSA-2011-0492.html
Comment 13 errata-xmlrpc 2011-05-05 14:56:45 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2011:0491 https://rhn.redhat.com/errata/RHSA-2011-0491.html
Comment 14 Vincent Danen 2011-05-05 15:58:06 EDT
Statement:

(none)
Comment 15 errata-xmlrpc 2011-05-19 07:35:38 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:0554 https://rhn.redhat.com/errata/RHSA-2011-0554.html

Note You need to log in before you can comment on or make changes to this bug.