CVE-2023-43655

NameCVE-2023-43655
DescriptionComposer 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3777-1, ELA-1096-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
composer (PTS)stretch (security)1.2.2-1+deb9u1vulnerable
stretch (lts), stretch1.2.2-1+deb9u3fixed
buster (security), buster, buster (lts)1.8.4-1+deb10u4fixed
bullseye (security), bullseye2.0.9-2+deb11u4vulnerable
bookworm (security), bookworm2.5.5-1+deb12u2vulnerable
sid, trixie2.8.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
composersourcestretch1.2.2-1+deb9u2ELA-1096-1
composersourcebuster1.8.4-1+deb10u3DLA-3777-1
composersource(unstable)2.6.4-1

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)

Search for package or bug name: Reporting problems