PT-2024-32972 · Localai+1 · Localai+1

Aftersnows

+1

·

Published

2024-11-04

·

Updated

2024-11-22

·

CVE-2024-48057

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions localai versions <=2.20.1
Description The issue is related to a Cross Site Scripting (XSS) vulnerability. When the delete model API is called with inappropriate parameters, it can cause a one-time storage XSS. This will trigger the payload when a user accesses the homepage. The vulnerability occurs in the delete model API when bad parameters are used.
Recommendations For localai versions <=2.20.1, as a temporary workaround, consider restricting access to the delete model API until a patch is available. Avoid using inappropriate parameters in the delete model API to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

XSS

CSRF

Weakness Enumeration

Related Identifiers

CVE-2024-48057
GHSA-GHX4-CGXW-7H9P
GO-2024-3253
OPENSUSE-SU-2024:14470-1
OPENSUSE-SU-2024_4042-1
SUSE-SU-2024:4042-1

Affected Products

Suse
Localai