CVE-2023-43655

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-43655
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-43655.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-43655
Aliases
Downstream
Related
Published
2023-09-29T19:33:32.183Z
Modified
2025-11-27T02:32:18.932767Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Remote Code Execution via web-accessible composer.phar
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2023/43xxx/CVE-2023-43655.json",
    "cwe_ids": [
        "CWE-74"
    ]
}
References

Affected packages

Git / github.com/composer/composer

Affected ranges

Type
GIT
Repo
https://github.com/composer/composer
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.0"
        },
        {
            "fixed": "2.2.22"
        }
    ]
}
Type
GIT
Repo
https://github.com/composer/composer
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.10.27"
        }
    ]
}