CVE-2023-43655Getcomposer Composer
High 8.8
Follow: this CVE · Getcomposer · Getcomposer Composer We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- Yes
- Published
- Sep 29, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Composer.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | composer/composer |
< 1.10.27 |
1.10.27 |
composer require "composer/composer:^1.10.27" |
| Packagist | composer/composer |
≥ 2.0.0 < 2.2.22 |
2.2.22 |
composer require "composer/composer:^2.2.22" |
| Packagist | composer/composer |
≥ 2.3.0 < 2.6.4 |
2.6.4 |
composer require "composer/composer:^2.6.4" |
Per OSV / GitHub Advisories (GHSA-jm6m-4632-36hf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| getcomposer | composer | < 1.10.27 |
| getcomposer | composer | ≥ 2.0.0 < 2.2.21 |
| getcomposer | composer | ≥ 2.3.0 < 2.6.4 |
| debian | debian_linux | 10.0 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Vendor Advisory
- lists.debian.org Mailing List
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory