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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-4343— Python Command Injection in imartinez/privategpt

Quick assessment

Affected
imartinez imartinez/privategpt
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.

PrivateGPT是Zylon开源的一个 AI 项目。 PrivateGPT 0.3.0及之前版本存在操作系统命令注入漏洞,该漏洞源于存在Python命令注入漏洞,攻击者可以在托管应用程序的系统上执行任意命令。

AI Predicted 7.5 Difficulty: Moderate EPSS 2.69% · P86

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-4343

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
Python Command Injection in imartinez/privategpt
Source: CVE Program / CVE List V5
Vulnerability Description
A Python command injection vulnerability exists in the `SagemakerLLM` class's `complete()` method within `./private_gpt/components/llm/custom/sagemaker.py` of the imartinez/privategpt application, versions up to and including 0.3.0. The vulnerability arises due to the use of the `eval()` function to parse a string received from a remote AWS SageMaker LLM endpoint into a dictionary. This method of parsing is unsafe as it can execute arbitrary Python code contained within the response. An attacker can exploit this vulnerability by manipulating the response from the AWS SageMaker LLM endpoint to include malicious Python code, leading to potential execution of arbitrary commands on the system hosting the application. The issue is fixed in version 0.6.0.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
PrivateGPT 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PrivateGPT是Zylon开源的一个 AI 项目。 PrivateGPT 0.3.0及之前版本存在操作系统命令注入漏洞,该漏洞源于存在Python命令注入漏洞,攻击者可以在托管应用程序的系统上执行任意命令。
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
imartinez imartinez/privategpt unspecified ~ 0.6.0 -

II. Public POCs for CVE-2024-4343

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

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

Vendor Advisories for CVE-2024-4343 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-4343

No comments yet


Leave a comment