CVE-2024-5181

published 26 Jun 2024 · updated 1 Aug 2024

Command Injection in mudler/localai

9.8CriticalCVSS 9.8EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in 2.16.0.

A command injection vulnerability exists in the mudler/localai version 2.14.0. The vulnerability arises from the application's handling of the backend parameter in the configuration file, which is used in the name of the initialized process. An attacker can exploit this vulnerability by manipulating the path of the vulnerable binary file specified in the backend parameter, allowing the execution of arbitrary code on the system. This issue is due to improper neutralization of special elements used in an OS command, leading to potential full control over the affected system.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
mudler<2.16.02.16.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5181 severity on Zeptric[![CVE-2024-5181](https://zeptric.io/badge/cve/CVE-2024-5181.svg)](https://zeptric.io/cve/CVE-2024-5181)