CVE-2024-11392
HIGH 8.8CVSS 3.1Deserialization of Untrusted Data in Hugging Face Transformers
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.
- Published
- 22 Nov 2024
- Last modified
- 10 Sep 2026
- Assigned by
- zdi-disclosures@trendmicro.com
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-qxrp-vhvm-j765PYSEC-2024-227
- Sources
- NVDJSONOSV GHSA-qxrp-vhvm-j765JSONOSV PYSEC-2024-227JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | zdi-disclosures@trendmicro.com (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | huggingface | transformerscpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:* |
< 4.48.0 | 4.48.0 |
| OSV | PyPI | transformers | < 4.48.0 | 4.48.0 |
References
- https://www.zerodayinitiative.com/advisories/ZDI-24-1513/ · Third Party Advisory, VDB Entry, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-11392 · ADVISORY
- https://github.com/huggingface/transformers/issues/34840 · WEB
- https://github.com/huggingface/transformers/pull/35296 · WEB
- https://github.com/huggingface/transformers · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2024-227.yaml · WEB
- https://github.com/advisories/GHSA-qxrp-vhvm-j765 · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 22 Nov 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Nov 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Nov 2024)