CVE-2024-3568
Transformers Deserialization of Untrusted Data vulnerability
3.4
LOW
CVSS 3.1
EPSS 2.1%
描述
The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data within the `load_repo_checkpoint()` function of the `TFPreTrainedModel()` class. Attackers can execute arbitrary code and commands by crafting a malicious serialized payload, exploiting the use of `pickle.load()` on data from potentially untrusted sources. This vulnerability allows for remote code execution (RCE) by deceiving victims into loading a seemingly harmless checkpoint during a normal training process, thereby enabling attackers to execute arbitrary code on the targeted machine.
如何修補 CVE-2024-3568
要修補 CVE-2024-3568,請將受影響套件升級到下列已修補版本。
- —升級至 4.38.0 或更新版本
- —升級至 4.38.0 或更新版本
CVE-2024-3568 正在被利用嗎?
低 — EPSS 為 2.1%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 4.38.0
- from 0, < 4.38.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.4 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:N/A:L |