{"id":"CVE-2024-3135","published":"2024-04-01T18:45:07Z","modified":"2024-08-01T19:32:42Z","title":"Cross-Site Request Forgery (CSRF) Vulnerability in mudler/localai","vendor":"mudler","product":"mudler/localai","tier":"tail","description":{"text":"A Cross-Site Request Forgery (CSRF) vulnerability exists in the mudler/localai application, allowing attackers to craft malicious webpages that, when visited by a victim, perform unauthorized actions on the victim's local LocalAI instance without their consent. This vulnerability enables attackers to exhaust system resources, consume credits, and fill disk space by making numerous resource-intensive API calls, such as generating images or uploading files. The vulnerability stems from the application's acceptance of simple request content-types without requiring CSRF tokens or implementing other CSRF mitigation measures. Successful exploitation does not require network access to the vulnerable LocalAI environment.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00314,"percentile":0.24994,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://huntr.com/bounties/7afdc4d3-4b68-45ea-96d0-cf9ed3712ae8","tags":[]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":5.0},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"mudler","affectedVersions":[{"vendor":"mudler","product":"mudler/localai","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-17T15:41:37.242182Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/go-skynet/LocalAI","vulnerableRanges":["<=2.7.0","all versions"],"patched":[],"from":["GHSA-jhvf-7c85-3c9g","GO-2024-2705"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1234","exploited":false,"provenance":"source"}}