Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Composer: Perforce source URL permits P4PORT `rsh:` command execution
Vulnerability Description
Composer is a dependency Manager for the PHP language. From 1.0 until 2.2.30 and 2.10.3, a malicious dependency package from a custom Composer repository or an untrusted composer.lock file could set source.type to perforce and source.url to an rsh: or jsh: P4PORT value. When the Perforce p4 client was installed and Composer installed the package from source through composer install or composer update, including --prefer-source, Composer\Util\Perforce passed the address to p4 without validation, causing p4 to run a local command with the privileges of the user or CI account. Packagist.org does not permit Perforce source metadata. This issue is fixed in versions 2.2.30 and 2.10.3.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Composer 命令注入漏洞
Vulnerability Description
Composer是Composer组织开源的一个软件依赖管理工具。 Composer 1.0至2.2.30之前版本和2.3.0至2.10.3之前版本存在命令注入漏洞,该漏洞源于未验证传递给Perforce p4客户端的地址,恶意依赖包或不可信的composer.lock文件可设置source.type为perforce及source.url为rsh或jsh P4PORT值,导致p4以用户或CI账户权限执行本地命令。
CVSS Information
N/A
Vulnerability Type
N/A