CVE-2024-3924
published 2024-05-30CVE-2024-3924: A code injection vulnerability exists in the huggingface/text-generation-inference repository, specifically within the `autodocs.yml` workflow file. The…
PriorityP423medium4.4CVSS 3.0
AVNACHPRLUIRSCCLILAN
EPSS
0.32%
23.3th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| huggingface | huggingface_text-generation-inference | >= unspecified < 2.0.0 | 2.0.0 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
code injection vulnerability exists in the huggingface/text-generation-inference repository
osv·2024-06-02
CVE-2024-3924 [MEDIUM] code injection vulnerability exists in the huggingface/text-generation-inference repository
code injection vulnerability exists in the huggingface/text-generation-inference repository
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.
GHSA
code injection vulnerability exists in the huggingface/text-generation-inference repository
ghsa·2024-06-02
CVE-2024-3924 [MEDIUM] CWE-94 code injection vulnerability exists in the huggingface/text-generation-inference repository
code injection vulnerability exists in the huggingface/text-generation-inference repository
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.
No detection rules found.
No public exploits indexed.
https://github.com/huggingface/text-generation-inference/commit/88702d876383f7200eccf67e28ba00500dc804bbhttps://huntr.com/bounties/8af92fc2-0103-4d29-bb28-c3893154c422https://github.com/huggingface/text-generation-inference/commit/88702d876383f7200eccf67e28ba00500dc804bbhttps://huntr.com/bounties/8af92fc2-0103-4d29-bb28-c3893154c422
2024-05-30
Published