p PatchFirst

CVE-2024-3924

CVE-2024-3924 · Code Injection in huggingface/text-generation-inference

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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.

CVSS 4.4 · Средний · EPSS 0,3% · Есть исправление

Опубликовано
Обновлено

Стек: python

Затронутые продукты и версии

  • huggingface/text-generation-inference

    Версии
    • ≥ unspecified, < 2.0.0: Затронуто (custom)

    Обновитесь до 2.0.0

  • text-generation PyPI

    Версии
    • 0.1.0
    • 0.2.0
    • 0.2.1
    • 0.3.0
    • 0.3.1
    • 0.4.0
    • 0.4.1
    • 0.5.0
    • 0.5.1
    • 0.5.2
    • 0.6.0
    • 0.6.1
    • 0.7.0
    Затронутые диапазоны версий
    • ECOSYSTEM: < 2.0.0

    Обновитесь до 2.0.0

Первоисточники

Проверьте свой сервер →