CVE-2023-7018 json
Deserialization of Untrusted Data in huggingface/transformers
published 2023-12-20 2 y ago modified 2026-06-17 4 mo ago also GHSA-v68g-wm8c-6x7j , PYSEC-2023-301 , EUVD-2023-0301
- cvss
- 9.6
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.
Patch / fix
- pypi transformers 4.36.0
- huggingface huggingface/transformers 4.36
Exploit prediction
0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/e1a3e548-e53a-48df-b708-9ee62140963c referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 9.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | transformers | <4.36.0 |
4.36.0 |
Affected products
- huggingface huggingface/transformers
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/huggingface/transformers/commit/1d63b0ec361e7a38f1339385e8a5a855085532ce
web, patch
-
huntr.com
/bounties/e1a3e548-e53a-48df-b708-9ee62140963c
web, exploit, patch, third-party-advisory, evidence
-
nvd.nist.gov
/vuln/detail/CVE-2023-7018
advisory
-
github.com
/huggingface/transformers
package
-
github.com
/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2023-301.yaml
web
-
github.com
/advisories/GHSA-v68g-wm8c-6x7j
advisory
Sources
- CVE List CVE-2023-7018
- GitHub Advisory GHSA-v68g-wm8c-6x7j
- NVD CVE-2023-7018
- OSV PYSEC-2023-301
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.