Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1naHg0LWNneHctN2g5cM4ABA9J
LocalAI Cross-site Scripting vulnerability
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.
Permalink: https://github.com/advisories/GHSA-ghx4-cgxw-7h9pJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1naHg0LWNneHctN2g5cM4ABA9J
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: 16 days ago
Updated: 15 days ago
CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-ghx4-cgxw-7h9p, CVE-2024-48057
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-48057
- https://gist.github.com/AfterSnows/1bd7ee5a3a42dbb5f5ff67f7f9c8ccec
- https://rumbling-slice-eb0.notion.site/LocalAI-deleted-model-with-storage-XSS-CSRF-vulnerability-in-mudler-localai-101e3cda9e8c80e0ac12fe418d5dd982?pvs=4
- https://github.com/mudler/LocalAI/blob/master/core/http/views/index.html#L75
- https://github.com/advisories/GHSA-ghx4-cgxw-7h9p
Blast Radius: 1.0
Affected Packages
go:github.com/mudler/LocalAI
Dependent packages: 0Dependent repositories: 0
Downloads:
Affected Version Ranges: <= 2.20.1
No known fixed version
All affected versions: 0.8.1, 0.9.1, 0.9.2, 0.10.0, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.11.0, 1.11.1, 1.12.0, 1.13.0, 1.14.0, 1.14.1, 1.14.2, 1.15.0, 1.16.0, 1.17.0, 1.17.1, 1.18.0, 1.19.0, 1.19.1, 1.19.2, 1.20.0, 1.20.1, 1.21.0, 1.22.0, 1.23.0, 1.23.1, 1.23.2, 1.24.1, 1.25.0, 1.30.0, 1.40.0