CVE-2024-2029

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductMudler Localai
PublishedApr 10, 2024
First seenApr 10, 2024

How to fix

Update
  • mudler localai2.10.0 or later
  • github.com/go-skynet/LocalAI2.10.0 or later

Affected products

ProductAffected versionsFixed in
mudler localaiv < 2.10.02.10.0
github.com/go-skynet/LocalAIGov < 2.10.0, No range specified2.10.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.