Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-6868— Arbitrary File Write in mudler/LocalAI

Quick assessment

Affected
mudler mudler/localai
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LocalAI是Ettore Di Giacinto个人开发者的一个免费的、开源的 OpenAI 替代方案。 LocalAI 2.17.1版本存在安全漏洞,该漏洞源于对自动存档提取处理不当,允许任意文件写入,可能导致远程代码执行(RCE)。

AI Predicted 9.8 Difficulty: Easy EPSS 1.54% · P74
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-6868

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Arbitrary File Write in mudler/LocalAI
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: CVE Program / CVE List V5
Vulnerability Title
LocalAI 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LocalAI是Ettore Di Giacinto个人开发者的一个免费的、开源的 OpenAI 替代方案。 LocalAI 2.17.1版本存在安全漏洞,该漏洞源于对自动存档提取处理不当,允许任意文件写入,可能导致远程代码执行(RCE)。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
mudler mudler/localai unspecified ~ 2.18.1 -

II. Public POCs for CVE-2024-6868

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-6868

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-6868 (1)

Vendor Advisories for CVE-2024-6868 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-6868

No comments yet


Leave a comment