Advisory

PYSEC-2023-301

Also known as: CVE-2023-7018, GHSA-v68g-wm8c-6x7j

Summary

The record has no summary.

Details

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

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2023-12-20 17:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

transformers

PyPI · All systems

Affected

  • introduced 0, fixed 4.36.0 (ecosystem)

Fixed versions

4.36.0

Fix

  • Fixed version 4.36.0
    pip install --upgrade transformers==4.36.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences