Serhiy Storchaka added the comment:

Yes, this behavior is documented, but still it is desirable to fix it. The tar 
utility has a lot of switches which controls extracting and by default it 
prevents three ways of attack (absolute names, '..' and symlinks), but there 
are other possible ways of attack. This is complex issue and I'm working on it. 
See also issue19974.

In any case we should be very careful because every protection against attack 
changes a behavior (which can be safe if you know what you do), so perhaps we 
should add parameters which controls behavior. This is possible only in new 
Python version.

----------
nosy: +serhiy.storchaka

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

Reply via email to