{"answers":{"affected":"7 open source packages ship an affected version, including composer/composer and composer. It affects 3 products.","exploited":"There is no known exploitation of CVE-2023-43655 in the wild and no public exploit code.","fix":"Upgrade composer/composer to a fixed version for your release line: 1.10.27, 2.2.22 or 2.6.4.","what":"CVE-2023-43655 is a medium-severity code injection vulnerability in Debian Debian Linux, published on 29 Sep 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-43655 and fix it if it is affected.\n\nWhat it is: CVE-2023-43655 is a medium-severity code injection vulnerability in Debian Debian Linux, published on 29 Sep 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-43655 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- composer/composer (Packagist): affected all versions; fixed in 1.10.27\n- composer/composer (Packagist): affected all versions; fixed in 1.10.27\n- composer/composer (Packagist): affected from 2.0.0; fixed in 2.2.22\n- composer/composer (Packagist): affected from 2.0.0; fixed in 2.2.22\n- composer/composer (Packagist): affected from 2.3.0; fixed in 2.6.4\n- composer/composer (Packagist): affected from 2.3.0; fixed in 2.6.4\n- composer (Bitnami): affected all versions; fixed in 1.10.27, 2.2.21, 2.6.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-43655/ (Markdown: https://insights.sbomify.com/CVE-2023-43655/index.md)","id":"CVE-2023-43655","markdown":"https://insights.sbomify.com/CVE-2023-43655/index.md","name":"CVE-2023-43655","record":{"aliases":["BIT-composer-2023-43655","CLEANSTART-2024-OM41616","DEBIAN-CVE-2023-43655","DLA-3777-1","GHSA-jm6m-4632-36hf","SUSE-SU-2023:4041-1","UBUNTU-CVE-2023-43655","openSUSE-SU-2024:13290-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"PHP dependency manager","requires_auth":"high_privilege","summary":"Remote code execution is possible if composer.phar is web-accessible and PHP register_argc_argv is enabled, requiring upgrades or configuration changes.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"composer","vendor":"getcomposer"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"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 make sure `register_argc_argv` is disabled in php.ini, and avoid publishing composer.phar to the web as this is not best practice.","ecosystems":["Bitnami","Packagist","SUSE:Linux Enterprise Module for Web and Scripting 15 SP4","SUSE:Linux Enterprise Module for Web and Scripting 15 SP5","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Remote Code Execution via web-accessible composer.phar","id":"CVE-2023-43655","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora"],"type":"code_injection","year":"2023"},"n_packages":12,"n_references":8,"next":{"headline":"Sandbox escape for instances that have enabled transformation functions in matrix-hookshot","id":"CVE-2023-43656"},"packages":[{"ecosystem":"Bitnami","fixed":["1.10.27","2.2.21","2.6.4"],"introduced":["0","2.0.0","2.3.0"],"last_affected":[],"package":"composer","purl":"pkg:bitnami/composer","source":"BIT-composer-2023-43655"},{"ecosystem":"Packagist","fixed":["1.10.27"],"introduced":["0"],"last_affected":[],"package":"composer/composer","purl":null,"source":"GHSA-jm6m-4632-36hf"},{"ecosystem":"Packagist","fixed":["1.10.27"],"introduced":["0"],"last_affected":[],"package":"composer/composer","purl":"pkg:composer/composer/composer","source":"GHSA-jm6m-4632-36hf"},{"ecosystem":"Packagist","fixed":["2.2.22"],"introduced":["2.0.0"],"last_affected":[],"package":"composer/composer","purl":null,"source":"GHSA-jm6m-4632-36hf"},{"ecosystem":"Packagist","fixed":["2.2.22"],"introduced":["2.0.0"],"last_affected":[],"package":"composer/composer","purl":"pkg:composer/composer/composer","source":"GHSA-jm6m-4632-36hf"},{"ecosystem":"Packagist","fixed":["2.6.4"],"introduced":["2.3.0"],"last_affected":[],"package":"composer/composer","purl":null,"source":"GHSA-jm6m-4632-36hf"},{"ecosystem":"Packagist","fixed":["2.6.4"],"introduced":["2.3.0"],"last_affected":[],"package":"composer/composer","purl":"pkg:composer/composer/composer","source":"GHSA-jm6m-4632-36hf"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15 SP4","fixed":["2.2.3-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"php-composer2","purl":"pkg:rpm/suse/php-composer2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP4","source":"SUSE-SU-2023:4041-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15 SP5","fixed":["2.2.3-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"php-composer2","purl":"pkg:rpm/suse/php-composer2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP5","source":"SUSE-SU-2023:4041-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.2.3-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"php-composer2","purl":"pkg:rpm/opensuse/php-composer2\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4041-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.2.3-150400.3.6.1"],"introduced":["0"],"last_affected":[],"package":"php-composer2","purl":"pkg:rpm/opensuse/php-composer2\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:4041-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.6.4-1.1"],"introduced":["0"],"last_affected":[],"package":"php-composer2","purl":"pkg:rpm/opensuse/php-composer2\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13290-1"}],"prev":{"headline":"TorchServe Server-Side Request Forgery","id":"CVE-2023-43654"},"products":["composer"],"published":"2023-09-29","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-18","vendors":["composer"]},"summary":"Remote code execution is possible if composer.phar is web-accessible and PHP register_argc_argv is enabled, requiring upgrades or configuration changes.","url":"https://insights.sbomify.com/CVE-2023-43655/"}