漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Ouroboros: Remote Code Execution via Untrusted Project-Directory .env
Vulnerability Description
Ouroboros is a local-first runtime for AI coding agents that records their actions and applies user-defined policies to constrain behavior. In versions prior to 0.39.0, if a user clones a malicious repository and runs Ouroboros commands within that directory, it can lead to arbitrary code execution and potential system takeover. The vulnerability stems from Ouroboros loading the .env file from the current working directory. Execution-affecting environment variables such as OUROBOROS_CLI_PATH, OPENCODE_CLI_PATH, and other backend selectors are accepted directly from this local .env. An attacker can include a malicious script in the repository and point the CLI path variable to it (e.g., OUROBOROS_CLI_PATH=./malicious_script.sh). When the user executes a command like ouroboros init or any command that instantiates the adapter, the malicious script is executed instead of the intended CLI. This issue has been fixed in version 0.39.0.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
不可信的搜索路径
Vulnerability Title
Q00 Ouroboros 权限许可和访问控制问题漏洞
Vulnerability Description
Q00 Ouroboros是Q00个人开发者开源的一款区块链软件开发产品。 Q00 Ouroboros 0.39.0之前版本存在权限许可和访问控制问题漏洞,该漏洞源于从当前工作目录加载.env文件,未对执行相关的环境变量(如OUROBOROS_CLI_PATH、OPENCODE_CLI_PATH)进行有效验证,攻击者可利用恶意仓库中的脚本指向CLI路径变量,导致任意代码执行和系统接管。
CVSS Information
N/A
Vulnerability Type
N/A