Vulnerabilities · 2024 · Mudler
CVE-2024-5181
Mudler Localai vulnerability
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.
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.