Vulnerability

CVE-2024-2029

criticalCVSS 3.0 9.8Published 10 Apr 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

From the NVD's configuration data (CPE), vendor first.

  • Mudler localai

Weakness type

References

  • github.com /mudler/localai/commit/31a4c9c9d3abc58de2bdc5305419181c8b33…
  • huntr.com /bounties/e092528a-ce3b-4e66-9b98-3f56d6b276b0

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning