漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Python Command Injection in imartinez/privategpt
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.
CVSS Information
N/A
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
PrivateGPT 操作系统命令注入漏洞
Vulnerability Description
PrivateGPT是Zylon开源的一个 AI 项目。 PrivateGPT 0.3.0及之前版本存在操作系统命令注入漏洞,该漏洞源于存在Python命令注入漏洞,攻击者可以在托管应用程序的系统上执行任意命令。
CVSS Information
N/A
Vulnerability Type
N/A