Insufficient Verification of Data Authenticity Affecting picklescan package, versions [,0.0.23)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

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 applications
  • Snyk IDSNYK-PYTHON-PICKLESCAN-9397994
  • published12 Mar 2025
  • disclosed10 Mar 2025
  • creditTrevor Madge

Introduced: 10 Mar 2025

NewCVE-2025-1944  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade picklescan to version 0.0.23 or higher.

Overview

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.

References

CVSS Base Scores

version 4.0
version 3.1