CVE-2024-52803CWE-79

LLama Factory Remote OS Command Injection Vulnerability

High · published November 21, 2024

CVSS v3.1
7.5
EPSS
2%
Percentile
83.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.02323 · 83.4th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2024-11-21T16:53Z
EPSS history
Timeline
  • 21 NOV 16:53Z
    LLama Factory Remote OS Command Injection Vulnerability
    cvelistv5