NetSight
high8.8

CVE-2023-43655

Composer Remote Code Execution vulnerability via web-accessible composer.phar

Impact

### 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.

Affected packages

EcosystemPackageAffectedFixed in
composercomposer/composer< 1.10.271.10.27

Affected products

VendorProductAffected versions
GetcomposerComposer
before 1.10.27
from 2.0.0 before 2.2.21
from 2.3.0 before 2.6.4
DebianDebian Linux
Version 10.0
FedoraprojectFedora
Versions 37, 38

Weakness classification

References