CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Mudler

CVE-2024-2029
Mudler Localai vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Localai. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mudler Localai runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Mudler products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.