We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-52803

LLama Factory Remote OS Command Injection Vulnerability



Description

LLama Factory enables fine-tuning of large language models. A critical remote OS command injection vulnerability has been identified in the LLama Factory training process. This vulnerability arises from improper handling of user input, allowing malicious actors to execute arbitrary OS commands on the host system. The issue is caused by insecure usage of the `Popen` function with `shell=True`, coupled with unsanitized user input. Immediate remediation is required to mitigate the risk. This vulnerability is fixed in 0.9.1.

Reserved 2024-11-15 | Published 2024-11-21 | Updated 2024-11-21 | Assigner GitHub_M


HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

< 0.9.1
affected

References

github.com/...actory/security/advisories/GHSA-hj3w-wrh4-44vp

github.com/...ommit/b3aa80d54a67da45e9e237e349486fb9c162b2ac

gist.github.com/...rboy-zjc/f2d2b93ae511c445ba97e144b70e534d

cve.org (CVE-2024-52803)

nvd.nist.gov (CVE-2024-52803)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-52803

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.