SCA: security update for composer/composer (GHSA-47f6-5gq3-vx9c)

high Tenable Self-Hosted Container Security Plugin ID 410015

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2024-35241)

See Also

https://github.com/advisories/GHSA-47f6-5gq3-vx9c

Plugin Details

Severity: High

ID: 410015

Version: Revision 1.22

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.85

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-35241

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/10/2024

Vulnerability Publication Date: 6/10/2024

Reference Information

CVE: CVE-2024-35241

cwe: CWE-77