{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-43655","id":"CVE-2023-43655","title":"Remote Code Execution via web-accessible composer.phar","description":"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 ma","descriptionLong":"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.","published":"2023-09-29T19:33:32.183Z","updated":"2026-11-11T10:30:26.077472262Z","reserved":"2023-09-20T15:35:38.147Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"medium","products":["composer"],"affectedProducts":[{"vendor":"composer","product":"composer","defaultStatus":null,"versions":[{"version":"2.6.4, 2.2.21, 1.10.27","status":"affected"},{"version":">= 2.0, < 2.2.22","status":"affected"},{"version":"< 1.10.27","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"composer/composer","purl":"pkg:composer/composer/composer","ranges":["<1.10.27",">=2.0.0 <2.2.22",">=2.3.0 <2.6.4"],"fixed":["1.10.27","2.2.22","2.6.4"],"advisory":"GHSA-jm6m-4632-36hf"}],"cwes":["CWE-74"],"aliases":["BIT-composer-2023-43655","GHSA-jm6m-4632-36hf"],"references":[{"url":"https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2/","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE/","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG/","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00030.html","tags":["x_transferred","Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43655.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43655","tags":["advisory"]},{"url":"https://github.com/composer/composer","tags":["package"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01532,"epssPercentile":0.75338,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-43655","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43655","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-43655","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jm6m-4632-36hf","ok":true,"note":"GHSA-jm6m-4632-36hf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-43655","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}