Author christian.heimes
Recipients christian.heimes
Date 2012-09-25.10:40:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348569609.82.0.499861906556.issue16042@psf.upfronthosting.co.za>
In-reply-to
Content
This bug is similar to #16037 and a modified copy of #16038.

The smtplib module doesn't limit the amount of read data in its call to readline(). An erroneous or malicious SMTP server can trick the smtplib module to consume large amounts of memory.

Suggestion:
The smtplib module should be modified to use limited readline() with _MAXLINE like the httplib module.
History
Date User Action Args
2012-09-25 10:40:09christian.heimessetrecipients: + christian.heimes
2012-09-25 10:40:09christian.heimessetmessageid: <1348569609.82.0.499861906556.issue16042@psf.upfronthosting.co.za>
2012-09-25 10:40:09christian.heimeslinkissue16042 messages
2012-09-25 10:40:09christian.heimescreate