Advisory Details

November 19th, 2024

(0Day) Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability

ZDI-24-1513
ZDI-CAN-24322

CVE ID CVE-2024-11392
CVSS SCORE 7.5, AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Hugging Face
AFFECTED PRODUCTS Transformers
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS

08/07/24 – ZDI submitted the report to a third-party bug bounty program
08/07/24 – the bug bounty program rejected the report for being out of their scope
08/19/24 – the vendor recommended submitting the reports via another bug bounty platform
08/20/24 – ZDI submitted the reports to the recommended platform
10/14/24 – the vendor rejected the vulnerability
11/06/24 – ZDI notified the vendor of the intention to publish the case as 0-day advisory

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the application


DISCLOSURE TIMELINE
  • 2024-08-07 - Vulnerability reported to vendor
  • 2024-11-19 - Coordinated public release of advisory
  • 2024-11-19 - Advisory Updated
CREDIT The_Kernel_Panic
BACK TO ADVISORIES