Christian Heimes <li...@cheimes.de> added the comment:

Issue #36462 contains more information. The reporter claims that the zipfile 
module is inherent insecure because it does not provide any heuristics to make 
zipbomb attacks harder.

I'm -1 to implement such a heuristic. The zipfile module is a low level module 
and should not limit extraction by defaykt. Instead we should improve 
documentation and maybe implement some method that simplifies detection of 
zipbomb attacks. I'm thinking about a method that returns total count of files, 
total compressed size and total uncompressed size.

----------
nosy: +christian.heimes

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36260>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to