Name | CVE-2023-43655 |
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.
|
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3777-1, ELA-1096-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
composer (PTS) | stretch (security) | 1.2.2-1+deb9u1 | vulnerable |
| stretch (lts), stretch | 1.2.2-1+deb9u3 | fixed |
| buster (security), buster, buster (lts) | 1.8.4-1+deb10u4 | fixed |
| bullseye (security), bullseye | 2.0.9-2+deb11u4 | vulnerable |
| bookworm (security), bookworm | 2.5.5-1+deb12u2 | vulnerable |
| sid, trixie | 2.8.3-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - composer <postponed> (Minor issue, fix along in a future update)
[bullseye] - composer <no-dsa> (Minor issue)
https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf
https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d (1.10.27)
https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c (2.2.22)
https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c (2.6.4)