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:32Z
Modified
2025-10-30T20:23:53.775111Z
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
{
    "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"
        }
    ]
}

Affected versions

1.*

1.0.0-alpha10
1.0.0-alpha9
1.10.24
1.10.25
1.10.26