Description
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 a remote code execution vulnerability if PHP also has `register_argc_argv` enabled in php.ini. Versions 2.6.4, 2.2.22 and 1.10.27 patch this vulnerability. Users are advised to upgrade. Users unable to upgrade should make sure `register_argc_argv` is disabled in php.ini, and avoid publishing composer.phar to the web as this is not best practice.
References (8)
Core 8
Core References
Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG/
Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE/
Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2/
Vendor Advisory x_refsource_confirm
https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf
Patch x_refsource_misc
https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d
Patch x_refsource_misc
https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c
Scores
CVSS v3
6.4
EPSS
0.0207
EPSS Percentile
84.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-74
Status
published
Products (5)
composer/composer
0 - 1.10.27Packagist
debian/debian_linux
10.0
fedoraproject/fedora
37
fedoraproject/fedora
38
getcomposer/composer
< 1.10.27
Published
Sep 29, 2023
Tracked Since
Feb 18, 2026