漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Vite+: Shell Command Injection via an Unvalidated Registry Version String
Vulnerability Description
Vite+ is a unified toolchain and entry point for web development. From 0.3.3 until 1.5.1, the global vp command line interface's vp env use path can place an unvalidated package-manager version from a repository-selected registry into generated shell export statements. When no project file selects a version, a cloned repository's .npmrc can direct the latest dist-tag lookup to an attacker-controlled registry, and a returned value containing shell syntax reaches the shell wrapper without strict semver validation or safe neutralization. A developer with the documented shell integration who runs vp env use with --no-install can therefore execute attacker-supplied commands with the developer account's permissions, permitting access to readable credentials and modification of writable files. The ordinary installation path rejects invalid versions, so the issue is limited to the affected dist-tag consumer and its stated prerequisites. This issue is fixed in version 1.5.1.
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)