RCE in Mudler Localai
CVE-2024-2029
A command injection vulnerability exists in the `TranscriptEndpoint` of mudler/localai, specifically within the `audioToWav` function used for converting audio files to WAV format for transcription. The vulnerability arises due to the lack of sanitization of user-supplied filenames before passing them to ffmpeg via a shell command, allowing an attacker to execute arbitrary commands on the host system. Successful exploitation could lead to unauthorized access, data breaches, or other detrimental impacts, depending on the privileges of the process executing the code.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.029 (86.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.029 · newest: 0.029 · change: 0.000
Affected products
- Mudler Localai
- Mudler Mudler/localai — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/e092528a-ce3b-4e66-9b98-3f56d6b276b0 (Exploit, Third Party Advisory)
- github.com/mudler/localai/commit/31a4c9c9d3abc58de2bdc5305419181c8b33eb1c (Patch)
Frequently asked questions
- What is CVE-2024-2029?
- CVE-2024-2029 is a critical-severity vulnerability in Mudler Localai, classified under OS Command Injection. CVSS score: 9.8/10. Published 2024-04-10.
- How severe is CVE-2024-2029?
- Critical severity. CVSS v3 base score is 9.8 out of 10.