CVE-2023-43655
Remote Code Execution via web-accessible composer.phar
8.8
HIGH
CVSS 3.1
EPSS 1.6%
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.
How to fix CVE-2023-43655
To remediate CVE-2023-43655, upgrade the affected package to a fixed version below.
- —upgrade to 1.10.27 or later
- —no fix listed
- —upgrade to 1.8.4-1+deb10u3 or later
- —upgrade to 1.10.27 or later
Is CVE-2023-43655 being exploited?
Low — EPSS is 1.6%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.10.27, >= 2.0.0, < 2.2.21, >= 2.3.0, < 2.6.4
- from 0
- from 0, < 1.8.4-1+deb10u3
- from 0, < 1.10.27
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |