CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Mudler

CVE-2024-6095
Mudler Localai vulnerability

A vulnerability in the /models/apply endpoint of mudler/localai versions 2.15.0 allows for Server-Side Request Forgery (SSRF) and partial Local File Inclusion (LFI). The endpoint supports both http(s):// and file:// schemes, where the latter can lead to LFI. However, the output is limited due to the length of the error message. This vulnerability can be exploited by an attacker with network access to the LocalAI instance, potentially allowing unauthorized access to internal HTTP(s) servers and partial reading of local files. The issue is fixed in version 2.17.

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.