INCIDENT MAP

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

transformers has a Deserialization of Untrusted Data vulnerability

CVE-2023-6730 ยท 2023-12-19 critical

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

How it works, in short

Untrusted serialised data is deserialised in transformers releases before 4.36.0, so a crafted input can trigger unsafe object loading. (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.0.

References

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