CVE-2024-11392
JSON

7.5high

Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability

Severity
7.5high CVSS:3.0 by zdi
Exploit likelihood
7.72% (higher than 94% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
zdi
Also known as
GHSA-qxrp-vhvm-j765PYSEC-2024-227

Description

Hugging Face Transformers MobileViTV2 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 handling of configuration 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-24322.

Affected

Product or packageVersionsReported by
Hugging Face Transformers940fde8dafaecb8f17b588c5078291f1c1a420c8CVE List
huggingface transformersMobileViTV2, before 4.48.0CVE List, NVD
transformers (PyPI)before 4.48.0GitHub Advisory Database, PyPA Advisory Database

All scores

zdi7.5high CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub7.5high CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
PyPA Advisory Database8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Hugging Face Transformers MobileViTV2 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 handling of configuration 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-24322.

NVD (es)

Vulnerabilidad de ejecución remota de código de deserialización de datos no confiables en Hugging Face Transformers MobileViTV2. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de Hugging Face Transformers. Se requiere la interacción del usuario para explotar esta vulnerabilidad, ya que el objetivo debe visitar una página maliciosa o abrir un archivo malicioso. La falla específica existe en el manejo de archivos de configuración. El problema es el resultado de la falta de una validación adecuada de los datos proporcionados por el usuario, lo que puede resultar en la deserialización de datos no confiables. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto del usuario actual. Era ZDI-CAN-24322.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-11392 changed 2024-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-qxrp-vhvm-j765 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-11392 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-227 changed 2026-06-10CC-BY-4.0