Upstream information
Description
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:```shrm vendor/composer/installed.php vendor/composer/InstalledVersions.php
composer install --no-scripts --no-plugins
```
SUSE information
Overall state of this security issue: Resolved
This issue is currently rated as having important severity.
National Vulnerability Database | SUSE | |
---|---|---|
Base Score | 7.8 | 7.8 |
Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Attack Vector | Local | Local |
Attack Complexity | Low | Low |
Privileges Required | Low | Low |
User Interaction | None | None |
Scope | Unchanged | Unchanged |
Confidentiality Impact | High | High |
Integrity Impact | High | High |
Availability Impact | High | High |
CVSSv3 Version | 3.1 | 3.1 |
SUSE Security Advisories:
- SUSE-SU-2024:0592-1, published Thu Feb 22 16:30:08 UTC 2024
List of released packages
Product(s) | Fixed package version(s) | References |
---|---|---|
Container bci/php-apache:latest Container bci/php-fpm:latest Container bci/php:latest |
| |
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS |
| Patchnames: SUSE-SLE-Product-HPC-15-SP4-ESPOS-2024-592 |
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS |
| Patchnames: SUSE-SLE-Product-HPC-15-SP4-LTSS-2024-592 |
SUSE Linux Enterprise High Performance Computing 15 SP5 SUSE Linux Enterprise Module for Web and Scripting 15 SP5 SUSE Linux Enterprise Server 15 SP5 SUSE Linux Enterprise Server for SAP Applications 15 SP5 |
| Patchnames: SUSE-SLE-Module-Web-Scripting-15-SP5-2024-592 |
SUSE Linux Enterprise Server 15 SP4-LTSS |
| Patchnames: SUSE-SLE-Product-SLES-15-SP4-LTSS-2024-592 |
SUSE Linux Enterprise Server for SAP Applications 15 SP4 |
| Patchnames: SUSE-SLE-Product-SLES_SAP-15-SP4-2024-592 |
SUSE Manager Server 4.3 |
| Patchnames: SUSE-SLE-Product-SUSE-Manager-Server-4.3-2024-592 |
openSUSE Leap 15.5 |
| Patchnames: openSUSE-SLE-15.5-2024-592 |
openSUSE Tumbleweed |
| Patchnames: openSUSE-Tumbleweed-2024-13681 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
Product(s) | Source package | State |
---|---|---|
Products under general support and receiving all security fixes. | ||
SUSE Linux Enterprise High Performance Computing 15 SP5 | php-composer2 | Released |
SUSE Linux Enterprise Module for Web and Scripting 15 SP5 | php-composer2 | Released |
SUSE Linux Enterprise Server 15 SP5 | php-composer2 | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP5 | php-composer2 | Released |
SUSE Manager Proxy 4.3 | php-composer2 | Affected |
SUSE Manager Retail Branch Server 4.3 | php-composer2 | Affected |
SUSE Manager Server 4.3 | php-composer2 | Released |
openSUSE Leap 15.5 | php-composer2 | Released |
Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
SUSE Linux Enterprise High Performance Computing 15 SP4 | php-composer2 | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | php-composer2 | Released |
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | php-composer2 | Released |
SUSE Linux Enterprise Module for Web and Scripting 15 SP4 | php-composer2 | Affected |
SUSE Linux Enterprise Server 15 SP4 | php-composer2 | Affected |
SUSE Linux Enterprise Server 15 SP4-LTSS | php-composer2 | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP4 | php-composer2 | Released |
Products past their end of life and not receiving proactive updates anymore. | ||
openSUSE Leap 15.4 | php-composer2 | Released |
Container Status | ||
bci/php bci/php-apache bci/php-fpm | php-composer2 | Released |
bci/php-apache:8 bci/php-fpm:8 bci/php:8 | php-composer2 | In progress |
SUSE Timeline for this CVE
CVE page created: Fri Feb 9 03:00:41 2024CVE page last modified: Tue Sep 3 19:32:55 2024