Vulnerabilities · 2024 · Mudler
CVE-2024-5182
Mudler Localai vulnerability
A path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model` parameter during the model deletion process to delete arbitrary files. Specifically, by crafting a request with a manipulated `model` parameter, an attacker can traverse the directory structure and target files outside of the intended directory, leading to the deletion of sensitive data. This vulnerability is due to insufficient input validation and sanitization of the `model` parameter.
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.