Upstream information

CVE-2024-35241 at MITRE

Description

Composer is a dependency manager for PHP. On the 2.x branch prior to versions 2.2.24 and 2.7.7, the `status`, `reinstall` and `remove` commands with packages installed from source via git containing specially crafted branch names in the repository can be used to execute code. Patches for this issue are available in version 2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid installing dependencies via git by using `--prefer-dist` or the `preferred-install: dist` config setting.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  SUSE
Base Score 7.8
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1226181 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container bci/php-apache:8-31.4
Container bci/php-fpm:8-31.4
Container bci/php:8-31.4
  • php-composer2 >= 2.6.4-150600.3.3.1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS
  • php-composer2 >= 2.2.3-150400.3.12.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP4-ESPOS-2024-2106
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS
  • php-composer2 >= 2.2.3-150400.3.12.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP4-LTSS-2024-2106
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
  • php-composer2 >= 2.2.3-150400.3.12.1
Patchnames:
SUSE-SLE-Module-Web-Scripting-15-SP5-2024-2106
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Web and Scripting 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • php-composer2 >= 2.6.4-150600.3.3.1
Patchnames:
SUSE-SLE-Module-Web-Scripting-15-SP6-2024-2107
SUSE Linux Enterprise Server 15 SP4-LTSS
  • php-composer2 >= 2.2.3-150400.3.12.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP4-LTSS-2024-2106
SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • php-composer2 >= 2.2.3-150400.3.12.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP4-2024-2106
SUSE Manager Server 4.3
  • php-composer2 >= 2.2.3-150400.3.12.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Server-4.3-2024-2106
openSUSE Leap 15.5
  • php-composer2 >= 2.2.3-150400.3.12.1
Patchnames:
openSUSE-SLE-15.5-2024-2106
openSUSE Leap 15.6
  • php-composer2 >= 2.6.4-150600.3.3.1
Patchnames:
openSUSE-SLE-15.6-2024-2107
openSUSE Tumbleweed
  • php-composer2 >= 2.7.7-1.1
Patchnames:
openSUSE-Tumbleweed-2024-14040


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 High Performance Computing 15 SP6 php-composer2 Released
SUSE Linux Enterprise Module for Web and Scripting 15 SP5 php-composer2 Released
SUSE Linux Enterprise Module for Web and Scripting 15 SP6 php-composer2 Released
SUSE Linux Enterprise Server 15 SP5 php-composer2 Released
SUSE Linux Enterprise Server 15 SP6 php-composer2 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 php-composer2 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP6 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
openSUSE Leap 15.6 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-composer2Released
bci/php-apache:8
bci/php-fpm:8
bci/php:8
php-composer2In progress


SUSE Timeline for this CVE

CVE page created: Tue Jun 11 02:00:03 2024
CVE page last modified: Tue Sep 3 19:34:38 2024