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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-5182— Path Traversal in mudler/localai

Quick assessment

Affected
mudler mudler/localai
Exploitation
High exploitation probability; assess promptly
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.14.0版本存在路径遍历漏洞,该漏洞源于存在路径遍历漏洞,攻击者可以在模型删除过程中利用model参数来删除任意文件。

AI Predicted 7.5 Difficulty: Easy EPSS 25.54% · P98
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-5182

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
Path Traversal in mudler/localai
Source: CVE Program / CVE List V5
Vulnerability Description
A path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model` parameter during the model deletion process to delete arbitrary files. Specifically, by crafting a request with a manipulated `model` parameter, an attacker can traverse the directory structure and target files outside of the intended directory, leading to the deletion of sensitive data. This vulnerability is due to insufficient input validation and sanitization of the `model` parameter.
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.14.0版本存在路径遍历漏洞,该漏洞源于存在路径遍历漏洞,攻击者可以在模型删除过程中利用model参数来删除任意文件。
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.16.0 -

II. Public POCs for CVE-2024-5182

# 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-5182

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

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

Vendor Advisories for CVE-2024-5182 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-5182

No comments yet


Leave a comment