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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-74"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43655.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "2.6.4, 2.2.21, 1.10.27"
},
{
"last_affected": "2.6.4, 2.2.21, 1.10.27"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.10.27"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.2.21"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.6.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4fce14795aba98e40b6c4f5047305aba17a6120d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "955a48e6319c8962e5cd421b07c00ab3c728968c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "95e091c921037b7b6564942845e7b738f6b95c9c"
}
],
"source": "REFERENCES_COMMIT"
}
]
}