PT-2024-32972
CVE-2024-48057
·
Published
2024-11-04
·
Updated
2024-11-22
Description by
CVSS 3.1
6.1
MediumMetricsAV: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.
Exploitability
Exploit
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾