CVE-2024-35241 Affecting php-composer2 package, versions <2.2.3-150400.3.12.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
1.05% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES154-PHPCOMPOSER2-7300322
  • published21 Jun 2024
  • disclosed20 Jun 2024

Introduced: 20 Jun 2024

CVE-2024-35241  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 php-composer2 to version 2.2.3-150400.3.12.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-composer2 package and not the php-composer2 package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1