CVE-2023-43655
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.39%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.39% probability · 71th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- getcomposer/composer · debian/debian linux · fedoraproject/fedora
- Source
- security-advisories@github.com
References
- https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120dPatch
- https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968cPatch
- https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9cPatch
- https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hfVendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00030.htmlMailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2/Mailing List, Third Party Advisory
- https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120dPatch
- https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968cPatch
- https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9cPatch
- https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hfVendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/03/msg00030.htmlMailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE/Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2/Mailing List, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.