CVE-2024-11393:
Deserialization of Untrusted Data in Hugging Face Transformers
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.97063%
CWE
Published
11/23/2024
Updated
2/13/2025
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
transformers | pip | >= 0, < 4.48.0 | 4.48.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from model conversion scripts that handle deserialization of checkpoint files. The linked GitHub PR #35296 explicitly removes these scripts from release wheels due to their use of insecure deserialization (e.g., loading pickle or legacy .bin files). These scripts lack proper validation, enabling RCE when untrusted model files are loaded. While specific function names aren't provided in the sources, the removal of conversion scripts in the patch confirms their role in the vulnerability. The confidence is high due to the direct correlation between the CVE description, the patch action, and the nature of deserialization in conversion workflows.