Skip to main content
← All vulnerabilities
CVE-2024-2029GO-2024-2717GHSA-WX43-G55G-2JF4

Command Injection in mudler/localai

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in v2.10.0, 2.10.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • mudler mudler/localai

    fixed in v2.10.0

  • github.com/go-skynet/LocalAIGo

    All versions

  • github.com/go-skynet/LocalAIGo

    fixed in 2.10.0

References 2

huntr.com

GitHub · mudler/localai