CVE-2024-3924huggingface/text-generation-inference
Media 4.4
Seguir: esta CVE · huggingface · huggingface/text-generation-inference Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 26
- CVSS 3.0
- 4.4
- EPSS
- 0.5% probabilidad de explotación en 30 días · percentil 35
- Requiere autenticación
- Sí
- Publicada
- 30 may 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-94
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Qué pasa
A code injection vulnerability exists in the huggingface/text-generation-inference repository, specifically within the `autodocs.yml` workflow file. The vulnerability arises from the insecure handling of the `github.head_ref` user input, which is used to dynamically construct a command for installing a software package. An attacker can exploit this by forking the repository, creating a branch with a malicious payload as the name, and then opening a pull request to the base repository. Successful exploitation could lead to arbitrary code execution within the context of the GitHub Actions runner. This issue affects versions up to and including v2.0.0 and was fixed in version 2.0.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para huggingface/text-generation-inference.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | text-generation |
< 2.0.0 |
2.0.0 |
pip install "text-generation>=2.0.0" |
| PyPI | text-generation |
< 2.0.0 |
2.0.0 |
pip install "text-generation>=2.0.0" |
Según OSV / GitHub Advisories (GHSA-qq99-p57r-g3v7, PYSEC-2026-1966). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- huggingface · huggingface/text-generation-inference
- huggingface · text_generation_inference
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.