Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. transformers
  4. ›
  5. CVE-2023-7018

CVE-2023-7018: transformers has a Deserialization of Untrusted Data vulnerability

December 20, 2023 (updated November 22, 2024)

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

References

  • github.com/advisories/GHSA-v68g-wm8c-6x7j
  • github.com/huggingface/transformers
  • github.com/huggingface/transformers/commit/1d63b0ec361e7a38f1339385e8a5a855085532ce
  • github.com/pypa/advisory-database/tree/main/vulns/transformers/PYSEC-2023-301.yaml
  • huntr.com/bounties/e1a3e548-e53a-48df-b708-9ee62140963c
  • nvd.nist.gov/vuln/detail/CVE-2023-7018

Code Behaviors & Features

Detect and mitigate CVE-2023-7018 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.36.0

Fixed versions

  • 4.36.0

Solution

Upgrade to version 4.36.0 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/transformers/CVE-2023-7018.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:16 +0000.