RCE in Mudler Localai
CVE-2024-6983
mudler/localai version 2.17.1 is vulnerable to remote code execution. The vulnerability arises because the localai backend receives inputs not only from the configuration file but also from other inputs, allowing an attacker to upload a binary file and execute malicious code. This can lead to the attacker gaining full control over the system.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.013, 70.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mudler Localai — versions 2.17.1
- Mudler Mudler/localai — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- huntr.com/bounties/f91fb287-412e-4c89-87df-9e4b6e609647 (Exploit, Third Party Advisory)
- github.com/mudler/localai/commit/d02a0f6f01d5c4a926a2d67190cb55d7aca23b66 (Patch)