Vulnerability in Composer
CVE-2023-43655
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.014 (71.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 71.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: 0.000
Affected products
- Composer — versions 2.6.4, 2.2.21, 1.10.27, >= 2.0, < 2.2.22, < 1.10.27
- Getcomposer Composer
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 37, 38
Weakness classification (CWE)
Public proof-of-concept exploits
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/package-announce@lists.fedoraproject.org/… (Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2024/03/msg00030.html (Mailing List)
Frequently asked questions
- What is CVE-2023-43655?
- CVE-2023-43655 is a medium-severity vulnerability in Composer, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 6.4/10. Published 2023-09-29.
- How severe is CVE-2023-43655?
- Medium severity. CVSS v3 base score is 6.4 out of 10.
- Is CVE-2023-43655 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.