ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2023-43655

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTScomposer
All versions before 1.0.0~beta2-1ubuntu0.1~esm2 (fixed in 1.0.0~beta2-1ubuntu0.1~esm2)
Ubuntu:Pro:18.04:LTScomposer
All versions before 1.6.3-1ubuntu0.1~esm2 (fixed in 1.6.3-1ubuntu0.1~esm2)
Ubuntu:Pro:20.04:LTScomposer
All versions before 1.10.1-1ubuntu0.1~esm2 (fixed in 1.10.1-1ubuntu0.1~esm2)
Ubuntu:Pro:22.04:LTScomposer
All versions before 2.2.6-2ubuntu4+esm1 (fixed in 2.2.6-2ubuntu4+esm1)

References