Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be impacted if PHP also has register_argc_argv
enabled in php.ini.
2.6.4, 2.2.22 and 1.10.27 patch this vulnerability.
Make sure register_argc_argv
is disabled in php.ini, and avoid publishing composer.phar to the web as this really should not happen.
{ "nvd_published_at": "2023-09-29T20:15:09Z", "cwe_ids": [ "CWE-74" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-09-29T20:39:21Z" }