]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39017: Avoid infinite loop in the tarfile module (GH-21454)
authorRishi <rishi_devan@mail.com>
Wed, 15 Jul 2020 11:51:00 +0000 (13:51 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 11:51:00 +0000 (13:51 +0200)
commit5a8d121a1f3ef5ad7c105ee378cc79a3eac0c7d4
tree68dffaf58d9509ec482ef1cddd0815fbd5c70fa7
parentbbceef6851895135c80e588a55854c1afab46499
bpo-39017: Avoid infinite loop in the tarfile module (GH-21454)

Avoid infinite loop when reading specially crafted TAR files using the tarfile module
(CVE-2019-20907).
Lib/tarfile.py
Lib/test/recursion.tar [new file with mode: 0644]
Lib/test/test_tarfile.py
Misc/NEWS.d/next/Library/2020-07-12-22-16-58.bpo-39017.x3Cg-9.rst [new file with mode: 0644]