cve.bz

CVE-2023-43655 Injection

8.8 highEPSS 1.5%Fix available

High (8.8). EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in composer/composer 1.10.27, 2.2.22, 2.6.4.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-09-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-43655 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-43655?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-43655?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-43655 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
getcomposer:composerbefore 1.10.27
getcomposer:composerfrom 2.0.0 before 2.2.21
getcomposer:composerfrom 2.3.0 before 2.6.4
debian:debian_linux10.0
fedoraproject:fedora37
fedoraproject:fedora38

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jm6m-4632-36hfPackagistcomposer/composer<1.10.271.10.27
GHSA-jm6m-4632-36hfPackagistcomposer/composer>=2.0.0 <2.2.222.2.22
GHSA-jm6m-4632-36hfPackagistcomposer/composer>=2.3.0 <2.6.42.6.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10composer1.8.4-1+deb10u3DLA-3777-1
Debian12composer2.5.5-1+deb12u4DEBIAN-CVE-2023-43655
Debian13, 14composer2.6.4-1DEBIAN-CVE-2023-43655
UbuntuPro:16.04:LTScomposer1.0.0~beta2-1ubuntu0.1~esm2UBUNTU-CVE-2023-43655 USN-7603-1
UbuntuPro:18.04:LTScomposer1.6.3-1ubuntu0.1~esm2UBUNTU-CVE-2023-43655 USN-7603-1
UbuntuPro:20.04:LTScomposer1.10.1-1ubuntu0.1~esm2UBUNTU-CVE-2023-43655 USN-7603-1
UbuntuPro:22.04:LTScomposer2.2.6-2ubuntu4+esm1UBUNTU-CVE-2023-43655 USN-7603-1
UbuntuPro:24.04:LTScomposer2.7.1-2ubuntu0.1~esm1USN-7603-1
SUSELinux Enterprise Module for Web and Scripting 15 SP4, Linux Enterprise Module for Web and Scripting 15 SP5php-composer22.2.3-150400.3.6.1SUSE-SU-2023:4041-1
openSUSELeap 15.4, Leap 15.5php-composer22.2.3-150400.3.6.1SUSE-SU-2023:4041-1
openSUSETumbleweedphp-composer22.6.4-1.1openSUSE-SU-2024:13290-1
Alpinev3.18, v3.19, v3.20 and 4 morecomposer2.6.4-r0ALPINE-CVE-2023-43655

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON