| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…for ZIP files on Windows (pythonGH-146591) (pythonGH-149071) pythongh-146581: Fix vulnerability in shutil.unpack_archive() for ZIP files on Windows (pythonGH-146591) Use ZipFile.extractall() to sanitize file names and extract files. Files with invalid names (e.g. absolute paths) are now skipped. Files containing ".." in the name are no longer skipped. (cherry picked from commit 7ef7dd0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit fc829e8)
|
Windows should pass now #153610 is merged. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
gh-146581: Fix vulnerability in shutil.unpack_archive() for ZIP files on Windows (GH-146591)
Use ZipFile.extractall() to sanitize file names and extract files.
Files with invalid names (e.g. absolute paths) are now skipped.
Files containing ".." in the name are no longer skipped.
(cherry picked from commit 7ef7dd0)
Co-authored-by: Serhiy Storchaka storchaka@gmail.com
(cherry picked from commit fc829e8)