Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade picklescan
to version 0.0.23 or higher.
picklescan is a Security scanner detecting Python Pickle files performing suspicious actions
Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity when PickleScan attempts to extract and scan PyTorch model archives, an attacker can manipulate the ZIP
file by modifying the filename in the ZIP
header while retaining the original filename in the directory listing. This causes PickleScan to raise a BadZipFile
error, preventing proper scanning, while PyTorch's more lenient ZIP
handling still allows the model to load, enabling malicious payloads to bypass detection.