Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mudler | Localai | <= 2.15.0 |
Related Weaknesses (CWE)
References
- https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64Patch
- https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120afExploitThird Party Advisory
- https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64Patch
- https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120afExploitThird Party Advisory
FAQ
What is CVE-2024-5616?
CVE-2024-5616 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 ma...
How severe is CVE-2024-5616?
CVE-2024-5616 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-5616?
Check the references section above for vendor advisories and patch information. Affected products include: Mudler Localai.