| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3777-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| composer (PTS) | bullseye (security), bullseye | 2.0.9-2+deb11u4 | vulnerable |
| bookworm, bookworm (security) | 2.5.5-1+deb12u2 | vulnerable | |
| trixie | 2.8.8-1 | fixed | |
| forky | 2.9.0~rc1-1 | fixed | |
| sid | 2.9.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| composer | source | buster | 1.8.4-1+deb10u3 | DLA-3777-1 | ||
| composer | source | (unstable) | 2.6.4-1 |
[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)