Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of model files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-25191.
Metrics
Affected Vendors & Products
References
History
Mon, 10 Feb 2025 22:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
CPEs | cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:* |
Wed, 04 Dec 2024 22:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Wed, 27 Nov 2024 22:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Huggingface
Huggingface transformers |
|
CPEs | cpe:2.3:a:huggingface:transformers:-:*:*:*:*:*:*:* | |
Vendors & Products |
Huggingface
Huggingface transformers |
Tue, 26 Nov 2024 03:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Fri, 22 Nov 2024 21:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of model files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-25191. | |
Title | Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability | |
Weaknesses | CWE-502 | |
References |
| |
Metrics |
cvssV3_0
|

Status: PUBLISHED
Assigner: zdi
Published: 2024-11-22T21:23:38.476Z
Updated: 2024-12-04T21:13:39.209Z
Reserved: 2024-11-18T23:29:51.422Z
Link: CVE-2024-11393

Updated: 2024-12-04T21:13:32.855Z

Status : Analyzed
Published: 2024-11-22T22:15:07.100
Modified: 2025-02-10T22:18:52.253
Link: CVE-2024-11393
