Duplicate Advisory: Zip Exploit Crashes Picklescan But Not PyTorch
Moderate severity
GitHub Reviewed
Published
Mar 10, 2025
to the GitHub Advisory Database
•
Updated Mar 10, 2025
Withdrawn
This advisory was withdrawn on Mar 10, 2025
Description
Published by the National Vulnerability Database
Mar 10, 2025
Published to the GitHub Advisory Database
Mar 10, 2025
Reviewed
Mar 10, 2025
Withdrawn
Mar 10, 2025
Last updated
Mar 10, 2025
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-7q5r-7gvp-wc82. This link is maintained to preserve external references.
Original Description
picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to extract and scan PyTorch model archives. By modifying the filename in the ZIP header while keeping the original filename in the directory listing, an attacker can make PickleScan raise a BadZipFile error. However, PyTorch's more forgiving ZIP implementation still allows the model to be loaded, enabling malicious payloads to bypass detection.
References