CVE-2024-2029

published 10 Apr 2024 · updated 1 Aug 2024

Command Injection in mudler/localai

9.8CriticalCVSS 9.8EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in v2.10.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mudler<v2.10.0v2.10.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-2029 severity on Zeptric[![CVE-2024-2029](https://zeptric.io/badge/cve/CVE-2024-2029.svg)](https://zeptric.io/cve/CVE-2024-2029)