SecurityContext

CVE-2024-11393: Hugging Face Transformers - Insecure Deserialization

  • Cve: CVE-2024-11393
  • Name: Hugging Face Transformers - Insecure Deserialization
  • 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.
  • Impact: Attackers can execute arbitrary code on affected systems, potentially leading to full system compromise.
  • Remediation: Apply the latest updates or patches from Hugging Face Transformers to fix deserialization validation issues.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Victim must visit a malicious page or open a malicious file
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.03272
  • Epss percentile: 0.88634
  • Assignee: [email protected]
  • Published at: 2024-11-22T22:15:07Z
  • Age in days: 732
  • Modified at: 2026-06-17T06:57:40Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-11393
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-502Deserialization of Untrusted Data

Public exploits

UrlSourceAdded date
https://github.com/Piyush-Bhor/CVE-2024-11393poc-in-github2024-12-07

References

UrlSourceTags
https://www.zerodayinitiative.com/advisories/ZDI-24-1514/nvdThird Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
huggingface:transformers< 4.48.0nonvd/v1/products/huggingface/transformers

Projects

RepositoryLink kindsIndexedUrl
huggingface/transformersissues, package, pullyes/v1/repositories/huggingface/transformers

Index

  • Repositories: 2055
  • Repositories high signal: 1115
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-12-07
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts