VDB

CVE-2023-43655

CVE-2023-43655 PUBLISHED CVSS 6.4 MEDIUM

Remote Code Execution via web-accessible composer.phar

Reported by github_m · Published September 29, 2023

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.

Risk scores

CVSS 3.1
6.4
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
composercomposer2.6.4, 2.2.21, 1.10.27, >= 2.0, < 2.2.22, < 1.10.27
amazon:2023composer0
composercomposer2.3.0, 0, 2.0.0
composercomposer0, 1.10.27, 2.0
alpinecomposer0
dockercomposer0

Timeline

  • Sep 29, 2023 CVE Published
  • Sep 30, 2023 EPSS Score (30 in total, the first dated here)
  • Sep 30, 2023 PoC Published
  • Apr 23, 2025 CVE Updated
  • Feb 4, 2026 Security Advisory
  • Aug 2, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-43655
vulnetix vdb fixes CVE-2023-43655

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-43655/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›