Skip to content
HighVulnerabilityLLM-specific

CVE-2024-3924: A code injection vulnerability exists in the huggingface/text-generation-inference repository, specifically within the…

Identifier
CVE-2024-3924
Published
Record updated
View JSON
Affected
  • text-generation < 2.0.0
Fixed in
2.0.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

CVE-2024-3924 is a code injection flaw in the `autodocs.yml` workflow file of the huggingface/text-generation-inference repository. The workflow builds a package-install command from the untrusted `github.head_ref` value, so an attacker who forks the repository, names a branch with a malicious payload, and opens a pull request to the base repository can achieve arbitrary code execution within the GitHub Actions runner. The issue affects versions up to and including v2.0.0.

Mitigation

Fixed in version 2.0.0.