漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Claude Code: Insecure Temporary File in /copy Command Enables Response Disclosure and Symlink-Based File Write
Vulnerability Description
Claude Code is an agentic coding tool. From 2.1.59 until 2.1.128, the Claude Code /copy command wrote responses to a hardcoded, predictable path (/tmp/claude/response.md) without UID isolation, randomness, or symlink protection. The file was created world-readable (0644) in a world-traversable directory (0755), allowing any local user to read a privileged user's Claude response, which could contain secrets or credentials. Additionally, because the path was static and predictable, a local attacker could pre-create the directory and plant a symlink at the expected file path, causing the privileged process to follow the symlink and overwrite an attacker-chosen file with the response text. Exploiting this required a local unprivileged user on the same system and a privileged user to run the /copy command. This vulnerability is fixed in 2.1.128.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Vulnerability Title
Anthropic Claude Code 信息泄露漏洞
Vulnerability Description
anthropics claude-code是anthropics的AI辅助编程工具。 Anthropic Claude Code 2.1.59版本至2.1.128之前版本存在安全漏洞,该漏洞源于/claude/copy命令将响应写入硬编码的可预测路径,未进行UID隔离、随机性或符号链接保护,可能导致本地普通用户读取特权用户的响应内容,且本地攻击者可预先创建目录并放置符号链接,使进程覆盖攻击者选择的文件。
CVSS Information
N/A
Vulnerability Type
N/A