Security mailing lists by PureSourceCode

CVE-2024-11393

HIGH 8.8CVSS 3.1

Deserialization of Untrusted Data in Hugging Face Transformers

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.

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-wrfc-pvp9-mr9gPYSEC-2024-228
Sources
NVDJSONOSV GHSA-wrfc-pvp9-mr9gJSONOSV PYSEC-2024-228JSON

Scores

SourceScored byVersionScoreVector / 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 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD huggingface transformers
cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:*
< 4.48.0 4.48.0
OSV PyPI transformers < 4.48.0 4.48.0

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.