INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2023-7018

transformers has a Deserialization of Untrusted Data vulnerability

CVE-2023-7018 ยท 2023-12-20 high

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Unsafe deserialisation
Affected
transformers (PyPI)
CVSS
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.7% chance of exploitation in 30 days

How it works, in short

Transformers releases before 4.36 deserialise untrusted data without adequate safeguards, so loading a crafted model artifact can create attacker-chosen objects. (Our summary, written by a model. The source text is below.)

Details

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.

References

Source: GitHub Advisory Database, used under CC BY 4.0.