[issue14001] Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

Charles-François Natali report at bugs.python.org
Mon Feb 13 21:27:48 CET 2012


Charles-François Natali <neologix at free.fr> added the comment:

SimpleXMLRPCRequestHandler.do_POST() is simply looping on EOF.
The patch attached fixes this (the server doesn't seem to generate an error in response to this partial request though).

----------
keywords: +patch
nosy: +neologix
Added file: http://bugs.python.org/file24513/xmlrpc_loop.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14001>
_______________________________________


More information about the Python-bugs-list mailing list