[issue21109] tarfile: Traversal attack vulnerability

shashank report at bugs.python.org
Wed Sep 26 03:18:08 EDT 2018


shashank <shanx.shashank at gmail.com> added the comment:

Added tests.
Patch file: safetarfile-4.diff

Following works with 456 tests passed, after doing `make clean && make`
# ./python -m unittest -v test.test_tarfile

Attached patch is on top of master's commit:
commit 2aaf98c16ae3070378de523a173e29644037d8bd (HEAD -> master, origin/master, origin/HEAD)
Author: INADA Naoki <methane at users.noreply.github.com>
Date:   Wed Sep 26 12:59:00 2018 +0900

----------
Added file: https://bugs.python.org/file47826/safetarfile-4.diff

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue21109>
_______________________________________


More information about the Python-bugs-list mailing list