Vulnerability details

CVE-2024-52803

hiyouga LlamaFactoryllama-factory llama-factory

LLama Factory Remote OS Command Injection Vulnerability

CVSS 3.1
7.5High

Official 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.

CVSS scores

ScoreVersionSourceVector
7.5High 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

VendorProductVersionsSource
hiyouga LlamaFactory < 0.9.1 CVEProject cvelistV5 (CNA)
llama-factory llama-factory v < 0.9.1 CISA ADP / Vulnrichment

References and advisories

3
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2024-11-21
Last updated
2024-11-22
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

2.32%
Probability of exploitation in 30 days
83.5%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
Proof of concept
Technical impact
Partial

Weaknesses (CWE)

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