{"id":"CVE-2024-5616","published":"2024-07-06T08:38:02Z","modified":"2024-08-01T21:18:06Z","title":"CSRF Vulnerability in mudler/LocalAI","vendor":"mudler","product":"mudler/localai","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00254,"percentile":0.17293,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af","tags":[]},{"url":"https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":3.46},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"mudler","affectedVersions":[{"vendor":"mudler","product":"mudler/localai","versions":[">= unspecified, < 2.17"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-22T17:54:12.569883Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-46799","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mudler-localai-cve-2024-5616","children":[{"from":"CVE-2024-5616","to":"CVE-2024-7010","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/cli/run.go","core/http/app.go"],"commits":["https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b","https://github.com/mudler/localai/commit/db1159b6511e8fa09e594f9db0fec6ab4e142468"],"basis":"shared function","functions":["App","Run"]}]}]}}