vulnerability
Ubuntu: USN-7603-1 (CVE-2023-43655): Composer vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:N/AC:H/Au:M/C:C/I:C/A:C) | Sep 29, 2023 | Jun 26, 2025 | Aug 18, 2025 |
Severity
7
CVSS
(AV:N/AC:H/Au:M/C:C/I:C/A:C)
Published
Sep 29, 2023
Added
Jun 26, 2025
Modified
Aug 18, 2025
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.
Solution
ubuntu-pro-upgrade-composer
References
- CVE-2023-43655
- https://attackerkb.com/topics/CVE-2023-43655
- CWE-74
- UBUNTU-USN-7603-1
- URL-https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d
- URL-https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c
- URL-https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c
- URL-https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf
- URL-https://www.cve.org/CVERecord?id=CVE-2023-43655
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.