Security mailing lists by PureSourceCode

CVE-2023-43655

HIGH 8.8CVSS 3.1

Composer Remote Code Execution vulnerability via web-accessible composer.phar

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
29 Sep 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-74
Also known as
BIT-composer-2023-43655GHSA-jm6m-4632-36hf
Sources
NVDJSONOSV GHSA-jm6m-4632-36hfJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD getcomposer composer
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*
< 1.10.27 1.10.27
NVD getcomposer composer
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.2.21 2.2.21
NVD getcomposer composer
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*
>= 2.3.0, < 2.6.4 2.6.4
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
OSV Packagist composer/composer < 1.10.27 1.10.27
OSV Packagist composer/composer >= 2.0.0, < 2.2.22 2.2.22
OSV Packagist composer/composer >= 2.3.0, < 2.6.4 2.6.4

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 29 Sep 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 29 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.