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
setup-php: Command Injection in Repository-Derived PHP Version Resolution
Vulnerability Description
setup-php is a GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and tools. From 2.25.0 prior to 2.37.1, shivammathur/setup-php resolves the PHP version from repository-controlled files such as .php-version, composer.lock through platform-overrides.php, and composer.json through config.platform.php, and insufficiently constrains those values before incorporating them into generated shell or PowerShell setup scripts, allowing command injection on a GitHub Actions runner when workflows such as pull_request_target check out attacker-controlled contents before invoking setup-php. This issue is fixed in version 2.37.1.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Shivam Mathur Setup PHP 命令注入漏洞
Vulnerability Description
Shivam Mathur Setup PHP是Shivam Mathur个人开发者的一款用于配置PHP环境的软件。 Shivam Mathur Setup PHP 2.25.0版本至2.37.1之前版本存在命令注入漏洞,该漏洞源于从仓库控制文件中提取PHP版本时未充分限制值的使用,导致在生成shell或PowerShell脚本时可能发生命令注入。
CVSS Information
N/A
Vulnerability Type
N/A