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-9397859
  • published12 Mar 2025
  • disclosed10 Mar 2025
  • creditTrevor Madge

Introduced: 10 Mar 2025

NewCVE-2025-1945  (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 due to improper handling of modified ZIP file flag bits. Attackers can exploit this by altering specific bits in the ZIP file headers within PyTorch model archives, embedding malicious pickle files that remain undetected by PickleScan while still being successfully loaded by PyTorch's torch.load().

References

CVSS Base Scores

version 4.0
version 3.1