{"id":"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.","modified":"2026-02-05T01:51:11.312743Z","published":"2023-09-29T20:15:00Z","related":["USN-7603-1"],"upstream":["CVE-2023-43655"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-43655"},{"type":"REPORT","url":"https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf"},{"type":"REPORT","url":"https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d"},{"type":"REPORT","url":"https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c"},{"type":"REPORT","url":"https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c"},{"type":"REPORT","url":"https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c"},{"type":"REPORT","url":"https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c"},{"type":"REPORT","url":"https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-43655"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7603-1"}],"affected":[{"package":{"name":"composer","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/composer@1.0.0~beta2-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0~beta2-1ubuntu0.1~esm2"}]}],"versions":["1.0.0~alpha10+20150602-1","1.0.0~alpha10+20150602-2","1.0.0~alpha11-1","1.0.0~alpha11-1ubuntu1","1.0.0~alpha11-2","1.0.0~alpha11-3","1.0.0~beta1-1ubuntu1","1.0.0~beta2-1","1.0.0~beta2-1ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"composer","binary_version":"1.0.0~beta2-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43655.json"}},{"package":{"name":"composer","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/composer@1.6.3-1ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.3-1ubuntu0.1~esm2"}]}],"versions":["1.5.1-1","1.5.2-1","1.6.2-1","1.6.3-1","1.6.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.3-1ubuntu0.1~esm2","binary_name":"composer"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43655.json"}},{"package":{"name":"composer","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/composer@1.10.1-1ubuntu0.1~esm2?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.1-1ubuntu0.1~esm2"}]}],"versions":["1.9.0-2","1.9.1-1","1.9.2-1","1.9.3-1","1.10.0-1","1.10.1-1","1.10.1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"composer","binary_version":"1.10.1-1ubuntu0.1~esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43655.json"}},{"package":{"name":"composer","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/composer@2.2.6-2ubuntu4+esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.6-2ubuntu4+esm1"}]}],"versions":["2.0.9-2ubuntu2","2.0.9-2ubuntu3","2.0.13-1ubuntu1","2.1.12-1ubuntu1","2.2.6-2ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"composer","binary_version":"2.2.6-2ubuntu4+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-43655.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}