Browse / Unsafe Model Loading and Supply Chain / CVE-2023-6730
transformers has a Deserialization of Untrusted Data vulnerability
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2023-6730
- https://github.com/huggingface/transformers/commit/1d63b0ec361e7a38f1339385e8a5a855085532ce
- https://github.com/huggingface/transformers
- https://github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2023-300.yaml
- https://huntr.com/bounties/423611ee-7a2a-442a-babb-3ed2f8385c16
Source: GitHub Advisory Database, used under CC BY 4.0.