Опубликовано: 05 нояб. 2024
Источник: github
Github: Прошло ревью
CVSS4: 2.1
CVSS3: 6.1
Описание
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.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2024-48057
- https://github.com/mudler/localai/commit/a1634b219a4e52813e70ff07e6376a01449c4515
- https://gist.github.com/AfterSnows/1bd7ee5a3a42dbb5f5ff67f7f9c8ccec
- https://github.com/advisories/GHSA-ghx4-cgxw-7h9p
- https://github.com/mudler/LocalAI/blob/master/core/http/views/index.html#L75
- https://rumbling-slice-eb0.notion.site/LocalAI-deleted-model-with-storage-XSS-CSRF-vulnerability-in-mudler-localai-101e3cda9e8c80e0ac12fe418d5dd982?pvs=4
Пакеты
Наименование
github.com/mudler/LocalAI
go
Затронутые версииВерсия исправления
<= 2.20.1
Отсутствует
Связанные уязвимости
CVSS3: 6.1
nvd
больше 1 года назад
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.