Skip to content
CriticalVulnerability

CVE-2024-2029: mudler/localai command injection in TranscriptEndpoint audio conversion

Identifier
CVE-2024-2029
Published
Record updated
View JSON
Affected
  • github.com/go-skynet/LocalAI < 2.10.0
Fixed in
2.10.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
2.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2024-2029 is a command injection flaw in the `TranscriptEndpoint` of mudler/localai, within the `audioToWav` function that converts audio files to WAV for transcription. User-supplied filenames are passed to ffmpeg through a shell command without sanitization, letting an attacker run arbitrary commands on the host. Impact depends on the privileges of the process running the code.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.