Low severityNVD Advisory· Published Nov 4, 2024· Updated Nov 5, 2024
CVE-2024-48057
CVE-2024-48057
Description
localai <=2.20.1 is vulnerable to Cross Site Scripting (XSS). When calling the delete model API and passing inappropriate parameters, it can cause a one-time storage XSS, which will trigger the payload when a user accesses the homepage.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/mudler/LocalAIGo | <= 2.20.1 | — |
Affected products
7- localai/localaidescription
- ghsa-coords6 versionspkg:golang/github.com/mudler/localaipkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweedpkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5pkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6
<= 2.20.1+ 5 more
- (no CPE)range: <= 2.20.1
- (no CPE)range: < 0.0.20241112T145010-150000.1.17.1
- (no CPE)range: < 0.0.20241112T145010-150000.1.17.1
- (no CPE)range: < 0.0.20241106T172143-1.1
- (no CPE)range: < 0.0.20241112T145010-150000.1.17.1
- (no CPE)range: < 0.0.20241112T145010-150000.1.17.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-ghx4-cgxw-7h9pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-48057ghsaADVISORY
- gist.github.com/AfterSnows/1bd7ee5a3a42dbb5f5ff67f7f9c8ccecghsaWEB
- github.com/mudler/LocalAI/blob/master/core/http/views/index.htmlghsaWEB
- github.com/mudler/localai/commit/a1634b219a4e52813e70ff07e6376a01449c4515ghsaWEB
- rumbling-slice-eb0.notion.site/LocalAI-deleted-model-with-storage-XSS-CSRF-vulnerability-in-mudler-localai-101e3cda9e8c80e0ac12fe418d5dd982ghsaWEB
News mentions
0No linked articles in our index yet.