RCE in Hiyouga Llama-Factory
CVE-2024-52803
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.023 (82.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 83rd percentile — 82.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.023 · newest: 0.023 · change: 0.000
Affected products
- Hiyouga Llama-Factory — versions < 0.9.1
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-52803?
- CVE-2024-52803 is a high-severity vulnerability in Hiyouga Llama-Factory, classified under Cross-site Scripting. CVSS score: 7.5/10. Published 2024-11-21.
- How severe is CVE-2024-52803?
- High severity. CVSS v3 base score is 7.5 out of 10.