CVE-2024-3568Huggingface Transformers
Crítica 9.6 Sin autenticación
Seguir: esta CVE · Huggingface · Huggingface Transformers Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 73
- CVSS 3.1
- 9.6
- EPSS
- 2.8% probabilidad de explotación en 30 días · percentil 87
- Requiere autenticación
- No
- Publicada
- 10 abr 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-502
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Qué pasa
The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data within the `load_repo_checkpoint()` function of the `TFPreTrainedModel()` class. Attackers can execute arbitrary code and commands by crafting a malicious serialized payload, exploiting the use of `pickle.load()` on data from potentially untrusted sources. This vulnerability allows for remote code execution (RCE) by deceiving victims into loading a seemingly harmless checkpoint during a normal training process, thereby enabling attackers to execute arbitrary code on the targeted machine.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Transformers.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | transformers |
< 4.38.0 |
4.38.0 |
pip install "transformers>=4.38.0" |
| PyPI | transformers |
< 4.38.0 |
4.38.0 |
pip install "transformers>=4.38.0" |
Según OSV / GitHub Advisories (GHSA-37q5-v5qm-c9v8, PYSEC-2026-1978). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| huggingface | transformers | < 4.38.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- huntr.com Exploit Third Party Advisory