mudler/localai version 2.17.1 is vulnerable to remote code execution.
Date: 2024-09
Affected: mudler/localai
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-6983
CWE: CWE-94
CVSS: 8.8 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):