漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
pnpm: Git Fetch Argument Injection via Lockfile resolution.commit
Vulnerability Description
pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm passes the lockfile-controlled git resolution.commit value to git fetch without a -- separator or commit-format validation. For git dependencies fetched through the shallow-fetch path, a malicious lockfile can replace the expected 40-character commit hash with a Git option such as --upload-pack=<command>. For SSH and local transports, --upload-pack can execute the supplied command. HTTPS transports ignore --upload-pack, so the practical attack surface is primarily SSH or local git dependencies. This vulnerability is fixed in 10.34.0 and 11.4.0.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Vulnerability Type
参数注入或修改
Vulnerability Title
pnpm 命令注入漏洞
Vulnerability Description
pnpm是pnpm团队开源的一个包管理器。 pnpm 10.33.4之前版本和11.0.0至11.4.0之前版本存在命令注入漏洞,该漏洞源于将lockfile控制的git resolution.commit值传递给git fetch时缺少--分隔符或commit格式验证,可能导致通过SSH或本地传输执行任意命令。
CVSS Information
N/A
Vulnerability Type
N/A