{"id":"CVE-2024-11393","published":"2024-11-22T21:23:38Z","modified":"2024-12-04T21:13:39Z","title":"Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability","vendor":"Hugging Face","product":"Transformers","tier":"tail","description":{"text":"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.\n\nThe 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0431,"percentile":0.91923,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-24-1514/","tags":["x_research-advisory"]}],"priority":{"score":29.5,"factors":[{"name":"EPSS percentile","points":18.38},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-12-07","earliestUrl":"https://github.com/Piyush-Bhor/CVE-2024-11393","repos":[{"name":"Piyush-Bhor/CVE-2024-11393","url":"https://github.com/Piyush-Bhor/CVE-2024-11393","stars":4,"created":"2024-12-07"}]},"first":{"date":"2024-12-07","source":"PoC-in-GitHub","url":"https://github.com/Piyush-Bhor/CVE-2024-11393"},"provenance":"source"},"vendorSlug":"hugging-face","affectedVersions":[{"vendor":"Hugging Face","product":"Transformers","versions":["8820fe8b8c4b9da94cf1e4761876f85c562e0efe"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-11-26T15:15:05.146897Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"transformers","vulnerableRanges":["<4.48.0"],"patched":["4.48.0"],"from":["GHSA-wrfc-pvp9-mr9g","PYSEC-2024-228"],"provenance":"source"}],"summary":{"text":"The flaw is a deserialization of untrusted data issue in the model file parsing component of Hugging Face Transformers, specifically affecting MaskFormer models, caused by missing validation of user-supplied input. An remote attacker can exploit it to execute arbitrary code in the context of the current user, with no authentication required but user interaction needed, such as the target visiting a malicious page or opening a malicious file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:02Z"},"euvd":{"id":"EUVD-2024-34102","exploited":false,"provenance":"source"}}