CVE-2023-43655

Severity CVSS v4.0:
Pending analysis
Type:
CWE-74 Injection
Publication date:
29/09/2023
Last modified:
23/04/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* 1.10.27 (excluding)
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* 2.0.0 (including) 2.2.21 (excluding)
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:* 2.3.0 (including) 2.6.4 (excluding)
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools