{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2024-24821","title":"Title"},{"category":"description","text":"Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of `vendor/composer/InstalledVersions.php` and `vendor/composer/installed.php` do not include untrusted code.  A reset can also be done on these files by the following:```sh\nrm vendor/composer/installed.php vendor/composer/InstalledVersions.php\ncomposer install --no-scripts --no-plugins\n```","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2024-24821","url":"https://www.suse.com/security/cve/CVE-2024-24821"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1219757 for CVE-2024-24821","url":"https://bugzilla.suse.com/1219757"},{"category":"external","summary":"Advisory link for SUSE-SU-2024:0592-1","url":"https://lists.suse.com/pipermail/sle-security-updates/2024-February/017994.html"}],"title":"SUSE CVE CVE-2024-24821","tracking":{"current_release_date":"2026-02-06T01:18:33Z","generator":{"date":"2024-02-11T03:54:03Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2024-24821","initial_release_date":"2024-02-11T03:54:03Z","revision_history":[{"date":"2024-02-11T03:54:03Z","number":"2","summary":"Current version"},{"date":"2024-02-14T03:56:10Z","number":"3","summary":"Current version"},{"date":"2024-02-23T03:20:59Z","number":"4","summary":"Current version"},{"date":"2025-01-01T01:28:05Z","number":"5","summary":"Current version"},{"date":"2025-01-04T01:31:45Z","number":"6","summary":"Current version"},{"date":"2025-02-14T05:26:15Z","number":"7","summary":"Current version"},{"date":"2025-02-16T05:19:11Z","number":"8","summary":"Current version"},{"date":"2025-03-15T05:30:53Z","number":"9","summary":"Current version"},{"date":"2025-04-24T14:53:57Z","number":"10","summary":"Current version"},{"date":"2025-06-26T01:23:31Z","number":"11","summary":"Current version"},{"date":"2025-07-02T00:53:19Z","number":"12","summary":"Current version"},{"date":"2025-09-28T23:59:27Z","number":"13","summary":"Current version"},{"date":"2025-11-03T02:10:09Z","number":"14","summary":"Current version"},{"date":"2026-02-06T01:18:33Z","number":"15","summary":"unknown changes"}],"status":"interim","version":"15"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc-espos:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc-ltss:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Performance Computing 15 SP5","product":{"name":"SUSE Linux Enterprise High Performance Computing 15 SP5","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP5","product_identification_helper":{"cpe":"cpe:/o:suse:sle_hpc:15:sp5"}}},{"category":"product_name","name":"SUSE Linux Enterprise Module for Web and Scripting 15 SP5","product":{"name":"SUSE Linux Enterprise Module for Web and Scripting 15 SP5","product_id":"SUSE Linux Enterprise Module for Web and Scripting 15 SP5","product_identification_helper":{"cpe":"cpe:/o:suse:sle-module-web-scripting:15:sp5"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 15 SP4-LTSS","product":{"name":"SUSE Linux Enterprise Server 15 SP4-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP4-LTSS","product_identification_helper":{"cpe":"cpe:/o:suse:sles-ltss:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 15 SP4-TERADATA","product":{"name":"SUSE Linux Enterprise Server 15 SP4-TERADATA","product_id":"SUSE Linux Enterprise Server 15 SP4-TERADATA","product_identification_helper":{"cpe":"cpe:/o:suse:sles_teradata:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 15 SP5","product":{"name":"SUSE Linux Enterprise Server 15 SP5","product_id":"SUSE Linux Enterprise Server 15 SP5","product_identification_helper":{"cpe":"cpe:/o:suse:sles:15:sp5"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server 16.0","product":{"name":"SUSE Linux Enterprise Server 16.0","product_id":"SUSE Linux Enterprise Server 16.0","product_identification_helper":{"cpe":"cpe:/o:suse:sles:16:16.0:server"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","product":{"name":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sles_sap:15:sp4"}}},{"category":"product_name","name":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","product":{"name":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","product_identification_helper":{"cpe":"cpe:/o:suse:sles_sap:15:sp5"}}},{"category":"product_name","name":"SUSE Manager Server 4.3","product":{"name":"SUSE Manager Server 4.3","product_id":"SUSE Manager Server 4.3","product_identification_helper":{"cpe":"cpe:/o:suse:suse-manager-server:4.3"}}},{"category":"product_name","name":"openSUSE Leap 15.5","product":{"name":"openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.5"}}},{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"php-composer2-2.2.3-150400.3.9.1","product":{"name":"php-composer2-2.2.3-150400.3.9.1","product_id":"php-composer2-2.2.3-150400.3.9.1","product_identification_helper":{"cpe":"cpe:2.3:a:getcomposer:composer:2.2.3:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/php-composer2@2.2.3-150400.3.9.1?upstream=php-composer2-2.2.3-150400.3.9.1.src.rpm"}}},{"category":"product_version","name":"php-composer2-2.7.1-1.1","product":{"name":"php-composer2-2.7.1-1.1","product_id":"php-composer2-2.7.1-1.1","product_identification_helper":{"cpe":"cpe:2.3:a:getcomposer:composer:2.7.1:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/php-composer2@2.7.1-1.1?upstream=php-composer2-2.7.1-1.1.src.rpm"}}},{"category":"product_version","name":"php-composer2-2.8.9-160000.2.2","product":{"name":"php-composer2-2.8.9-160000.2.2","product_id":"php-composer2-2.8.9-160000.2.2","product_identification_helper":{"cpe":"cpe:2.3:a:getcomposer:composer:2.8.9:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/php-composer2@2.8.9-160000.2.2?upstream=php-composer2-2.8.9-160000.2.2.src.rpm"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Linux Enterprise Server 15 SP5","product_id":"SUSE Linux Enterprise Server 15 SP5:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Linux Enterprise Server 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Linux Enterprise Server for SAP Applications 15 SP5","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP5:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Linux Enterprise Server for SAP Applications 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Linux Enterprise High Performance Computing 15 SP5","product_id":"SUSE Linux Enterprise High Performance Computing 15 SP5:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Linux Enterprise High Performance Computing 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Linux Enterprise Module for Web and Scripting 15 SP5","product_id":"SUSE Linux Enterprise Module for Web and Scripting 15 SP5:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Linux Enterprise Module for Web and Scripting 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Linux Enterprise Server 15 SP4-LTSS","product_id":"SUSE Linux Enterprise Server 15 SP4-LTSS:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Linux Enterprise Server 15 SP4-LTSS"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Linux Enterprise Server 15 SP4-TERADATA","product_id":"SUSE Linux Enterprise Server 15 SP4-TERADATA:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Linux Enterprise Server 15 SP4-TERADATA"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.8.9-160000.2.2 as component of SUSE Linux Enterprise Server 16.0","product_id":"SUSE Linux Enterprise Server 16.0:php-composer2-2.8.9-160000.2.2"},"product_reference":"php-composer2-2.8.9-160000.2.2","relates_to_product_reference":"SUSE Linux Enterprise Server 16.0"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Linux Enterprise Server for SAP Applications 15 SP4","product_id":"SUSE Linux Enterprise Server for SAP Applications 15 SP4:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Linux Enterprise Server for SAP Applications 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of SUSE Manager Server 4.3","product_id":"SUSE Manager Server 4.3:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"SUSE Manager Server 4.3"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.2.3-150400.3.9.1 as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:php-composer2-2.2.3-150400.3.9.1"},"product_reference":"php-composer2-2.2.3-150400.3.9.1","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"php-composer2-2.7.1-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:php-composer2-2.7.1-1.1"},"product_reference":"php-composer2-2.7.1-1.1","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2024-24821","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-24821"}],"notes":[{"category":"general","text":"Composer is a dependency Manager for the PHP language. In affected versions several files within the local working directory are included during the invocation of Composer and in the context of the executing user. As such, under certain conditions arbitrary code execution may lead to local privilege escalation, provide lateral user movement or malicious code execution when Composer is invoked within a directory with tampered files. All Composer CLI commands are affected, including composer.phar's self-update. The following scenarios are of high risk: Composer being run with sudo, Pipelines which may execute Composer on untrusted projects, Shared environments with developers who run Composer individually on the same project. This vulnerability has been addressed in versions 2.7.0 and 2.2.23. It is advised that the patched versions are applied at the earliest convenience. Where not possible, the following should be addressed: Remove all sudo composer privileges for all users to mitigate root privilege escalation, and avoid running Composer within an untrusted directory, or if needed, verify that the contents of `vendor/composer/InstalledVersions.php` and `vendor/composer/installed.php` do not include untrusted code.  A reset can also be done on these files by the following:```sh\nrm vendor/composer/installed.php vendor/composer/InstalledVersions.php\ncomposer install --no-scripts --no-plugins\n```","title":"CVE description"}],"product_status":{"recommended":["SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise High Performance Computing 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Module for Web and Scripting 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 15 SP4-LTSS:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 15 SP4-TERADATA:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 16.0:php-composer2-2.8.9-160000.2.2","SUSE Linux Enterprise Server for SAP Applications 15 SP4:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server for SAP Applications 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Manager Server 4.3:php-composer2-2.2.3-150400.3.9.1","openSUSE Leap 15.5:php-composer2-2.2.3-150400.3.9.1","openSUSE Tumbleweed:php-composer2-2.7.1-1.1"]},"references":[{"category":"external","summary":"CVE-2024-24821","url":"https://www.suse.com/security/cve/CVE-2024-24821"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1219757 for CVE-2024-24821","url":"https://bugzilla.suse.com/1219757"},{"category":"external","summary":"Advisory link for SUSE-SU-2024:0592-1","url":"https://lists.suse.com/pipermail/sle-security-updates/2024-February/017994.html"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise High Performance Computing 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Module for Web and Scripting 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 15 SP4-LTSS:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 15 SP4-TERADATA:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 16.0:php-composer2-2.8.9-160000.2.2","SUSE Linux Enterprise Server for SAP Applications 15 SP4:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server for SAP Applications 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Manager Server 4.3:php-composer2-2.2.3-150400.3.9.1","openSUSE Leap 15.5:php-composer2-2.2.3-150400.3.9.1","openSUSE Tumbleweed:php-composer2-2.7.1-1.1"]}],"scores":[{"cvss_v3":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"products":["SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise High Performance Computing 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Module for Web and Scripting 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 15 SP4-LTSS:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 15 SP4-TERADATA:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server 16.0:php-composer2-2.8.9-160000.2.2","SUSE Linux Enterprise Server for SAP Applications 15 SP4:php-composer2-2.2.3-150400.3.9.1","SUSE Linux Enterprise Server for SAP Applications 15 SP5:php-composer2-2.2.3-150400.3.9.1","SUSE Manager Server 4.3:php-composer2-2.2.3-150400.3.9.1","openSUSE Leap 15.5:php-composer2-2.2.3-150400.3.9.1","openSUSE Tumbleweed:php-composer2-2.7.1-1.1"]}],"threats":[{"category":"impact","date":"2024-02-09T02:00:41Z","details":"important"}],"title":"CVE-2024-24821"}]}