[issue28669] Math Library Dos Attack

STINNER Victor report at bugs.python.org
Fri Nov 11 14:36:49 EST 2016


STINNER Victor added the comment:

> Very very very long and the server unreachable all path.

If a server wants to allow users to run arbitrary code, a sandbox protecting the server must be used: limit CPU usage, limit total duration (time), etc.

"while 1: pass" is another simple snippet to eat server resources.

I agree, it's not a bug, it's a feature.

----------
nosy: +haypo
resolution:  -> not a bug
status: open -> closed

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


More information about the Python-bugs-list mailing list