Skip to content
OpenAdvisories
Medium · 6.1 CVE-2024-48057 EUVD-2024-3254GHSA-ghx4-cgxw-7h9pGO-2024-3253

LocalAI Cross-site Scripting vulnerability

Published Nov 4, 2024 · Updated Nov 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
SLES 15 SP5 govulncheck-vulndb 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241106T172143-1.1 openSUSE-SU-2024:14470-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1
openSUSE Leap 15.5 govulncheck-vulndb 0.0.20241112T145010-150000.1.17.1 SUSE-SU-2024:4042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mudler/LocalAI <= 2.20.1 — GHSA-ghx4-cgxw-7h9p
Go github.com/mudler/LocalAI all versions — GO-2024-3253

Advisories 2

References