CVE-2024-5616 CSRF Vulnerability in mudler/LocalAI
Attackers can trick users into deleting installed AI models via CSRF, requiring an upgrade to LocalAI.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-5616?
CVE-2024-5616 is a medium-severity vulnerability in mudler/localai, published on 6 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A Cross-Site Request Forgery (CSRF) vulnerability exists in mudler/LocalAI versions up to and including 2.15.0, which allows attackers to trick victims into deleting installed models. By crafting a malicious HTML page, an attacker can cause the deletion of a model, such as 'gpt-4-vision-preview', without the victim's consent. The vulnerability is due to insufficient CSRF protection mechanisms on the model deletion functionality.
Weakness: CWE-352
Which versions are affected by CVE-2024-5616?
It affects 1 product.
Products include Mudler Localai.
How do I fix CVE-2024-5616?
No fix has been published for CVE-2024-5616 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-5616 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5616 exists.
Other vulnerabilities in mudler/localai
Sources
Also known as GHSA-chxg-pjh8-j2r6.