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.
History

Mon, 10 Feb 2025 22:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:huggingface:transformers:-:*:*:*:*:*:*:* cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:*

Wed, 04 Dec 2024 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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

None

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important


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

{'score': 8.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

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

cve-icon Vulnrichment

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

cve-icon NVD

Status : Analyzed

Published: 2024-11-22T22:15:07.100

Modified: 2025-02-10T22:18:52.253

Link: CVE-2024-11393

cve-icon Redhat

Severity : Important

Publid Date: 2024-11-22T21:23:38Z

Links: CVE-2024-11393 - Bugzilla