Composer Remote Code Execution vulnerability via web-accessible composer.phar
### Impact 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. ### Patches 2.6.4, 2.2.22 and 1.10.27 patch this vulnerability. ### Workarounds Make sure `register_argc_argv` is disabled in php.ini, and avoid publishing composer.phar to the web as this really should not happen.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2023-43655US | high8.8 | — | ||
Composer is a dependency manager for PHP. Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be subject to… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/composer/composerPACKAGE
- https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120dWEB
- https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968cWEB
- https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9cWEB
- https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hfWEB
- https://lists.debian.org/debian-lts-announce/2024/03/msg00030.htmlWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FGWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAEWEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan