CVE-2023-43655
Getcomposer Composer vulnerability
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.
Affected products
Composer, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Getcomposer Composer runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf · Vendor Advisory
- github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d · Patch
- github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c · Patch
- github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c · Patch
- lists.fedoraproject.org/archives/list/[email protected]/message/66H · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/7AW · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/KFO · Third Party Advisory
- lists.debian.org/debian-lts-announce/2024/03/msg00030.html
- nvd.nist.gov/vuln/detail/CVE-2023-43655
- cve.org/CVERecord?id=CVE-2023-43655
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.