漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Network-AI: AgentRuntime sandbox path-prefix checks allow file access outside the configured base directory
Vulnerability Description
Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, `AgentRuntime` promises scoped file access under a configured sandbox `basePath`, but its path containment checks use raw string prefix tests. A sandbox base such as `/tmp/network-ai-sandbox` also matches a sibling path such as `/tmp/network-ai-sandbox_evil/secret.txt`. An agent/user that can call `AgentRuntime.readFile()` or `AgentRuntime.listDir()` can read or list files outside the intended sandbox when the target path is in a sibling directory sharing the base path prefix. This breaks the documented sandbox boundary. The issue is fixed in v5.12.2. `SandboxPolicy.resolvePath()` and `isPathAllowed()` now use separator-anchored prefix checks (`resolved === base || resolved.startsWith(base + path.sep)`) for both the allow-list and block-list. A sibling directory that merely shares a name prefix (e.g. `/srv/app-evil` vs base `/srv/app`) is no longer treated as in-scope.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Jovan Marinovic Network-AI 路径遍历漏洞
Vulnerability Description
Jovan Marinovic Network-AI是Jovan Marinovic个人开发者的一个 TypeScript/Node.js 多智能体编排器,可为任何 AI 智能体堆栈添加协调、防护和治理功能。 Jovan Marinovic Network-AI 5.12.2之前版本存在路径遍历漏洞,该漏洞源于路径包含检查使用原始字符串前缀测试,导致沙箱边界被突破,攻击者可调用AgentRuntime.readFile()或AgentRuntime.listDir()读取或列出预期沙箱外的文件。
CVSS Information
N/A
Vulnerability Type
N/A