漏洞标题
mudler/LocalAI存在任意文件写入漏洞
漏洞描述信息
mudler/LocalAI 版本 2.17.1 存在任意文件写入漏洞,原因是自动处理压缩包提取时存在不当操作。当模型配置指定附加文件为压缩包(如 .tar)时,这些压缩包在下载后会被自动提取。此行为可被利用来进行“tarslip”攻击,允许将文件写入服务器上的任意位置,绕过通常限制文件只能写入模型目录的检查。此漏洞可能导致远程代码执行(RCE),通过覆盖服务器使用的后端资源实现。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
漏洞类别
对路径名的限制不恰当(路径遍历)
漏洞标题
Arbitrary File Write in mudler/LocalAI
漏洞描述信息
mudler/LocalAI version 2.17.1 allows for arbitrary file write due to improper handling of automatic archive extraction. When model configurations specify additional files as archives (e.g., .tar), these archives are automatically extracted after downloading. This behavior can be exploited to perform a 'tarslip' attack, allowing files to be written to arbitrary locations on the server, bypassing checks that normally restrict files to the models directory. This vulnerability can lead to remote code execution (RCE) by overwriting backend assets used by the server.
CVSS信息
N/A
漏洞类别
输入验证不恰当
漏洞标题
LocalAI 安全漏洞
漏洞描述信息
LocalAI是Ettore Di Giacinto个人开发者的一个免费的、开源的 OpenAI 替代方案。 LocalAI 2.17.1版本存在安全漏洞,该漏洞源于对自动存档提取处理不当,允许任意文件写入,可能导致远程代码执行(RCE)。
CVSS信息
N/A
漏洞类别
其他