Safety vulnerability ID: 75794
The information on this page was manually curated by our Cybersecurity Intelligence Team.
PickleScan fails to detect malicious pickle files inside PyTorch model archives when certain ZIP file flag bits are modified. By flipping specific bits in the ZIP file headers, an attacker can embed malicious pickle files that remain undetected by PickleScan while still being successfully loaded by PyTorch's torch.load(). This can lead to arbitrary code execution when loading a compromised model.
Latest version: 0.0.24
Security scanner detecting Python Pickle files performing suspicious actions
What's Changed
* Zip Flag Bit Exploit Crashes Picklescan But Not PyTorch by madgetr in https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781 https://github.com/mmaitre314/picklescan/security/advisories/GHSA-w8jq-xcqf-f792
* Zip Exploit Crashes Picklescan But Not PyTorch by madgetr in https://github.com/mmaitre314/picklescan/commit/e58e45e0d9e091159c1554f9b04828bbb40b9781 https://github.com/mmaitre314/picklescan/security/advisories/GHSA-7q5r-7gvp-wc82
**Full Changelog**: https://github.com/mmaitre314/picklescan/compare/v0.0.22...v0.0.23
Scan your Python project for dependency vulnerabilities in two minutes
Scan your application