Security update for php-composer2

Announcement ID: SUSE-SU-2024:2107-1
Rating: important
References:
Cross-References:
CVSS scores:
  • CVE-2024-35241 ( SUSE ): 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • CVE-2024-35242 ( SUSE ): 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Products:
  • openSUSE Leap 15.6
  • SUSE Linux Enterprise Server 15 SP6
  • SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • Web and Scripting Module 15-SP6

An update that solves two vulnerabilities can now be installed.

Description:

This update for php-composer2 fixes the following issues:

  • CVE-2024-35241: Fixed code execution when installing packages in repository with specially crafted branch names (bsc#1226181).
  • CVE-2024-35242: Fixed command injection via specially crafted branch names during repository cloning (bsc#1226182).

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.6
    zypper in -t patch SUSE-2024-2107=1 openSUSE-SLE-15.6-2024-2107=1
  • Web and Scripting Module 15-SP6
    zypper in -t patch SUSE-SLE-Module-Web-Scripting-15-SP6-2024-2107=1

Package List:

  • openSUSE Leap 15.6 (noarch)
    • php-composer2-2.6.4-150600.3.3.1
  • Web and Scripting Module 15-SP6 (noarch)
    • php-composer2-2.6.4-150600.3.3.1

References: