Nixpkgs security tracker

Login with GitHub

Suggestion detail

Dismissed
updated 1 week ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse dismissed
shutil.unpack_archive() doesn't check for Windows absolute paths in ZIPs

If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...`) then the archive will be extracted outside the target directory which is different than other operating systems. Only Windows is affected by this vulnerability.

Affected products

CPython
  • ==0

Matching in nixpkgs

Package maintainers

Windows issue.