]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-109858: Protect zipfile from "quoted-overlap" zipbomb (GH-110016) (GH-113914)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 17 Jan 2024 13:50:10 +0000 (14:50 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Jan 2024 13:50:10 +0000 (14:50 +0100)
commit30fe5d853b56138dbec62432d370a1f99409fc85
tree3a140aac32aef77ea1aab4ea0b92a2d0a4cd01c1
parent8eaeefe49d179ca4908d052745e3bb8b6f238f82
[3.10] gh-109858: Protect zipfile from "quoted-overlap" zipbomb (GH-110016) (GH-113914)

Raise BadZipFile when try to read an entry that overlaps with other entry or
central directory.
(cherry picked from commit 66363b9a7b9fe7c99eba3a185b74c5fdbf842eba)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/NEWS.d/next/Library/2023-09-28-13-15-51.gh-issue-109858.43e2dg.rst [new file with mode: 0644]