Chainguard: composer: security update to 2.7.7-r0

high Tenable Self-Hosted Container Security Plugin ID 486371

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
`composer install` command running inside a git/hg repository which has specially crafted branch names can
lead to command injection. This requires cloning untrusted repositories. Patches are available in version
2.2.24 for 2.2 LTS or 2.7.7 for mainline. As a workaround, avoid cloning potentially compromised
repositories. (CVE-2024-35242)

Solution

Update the composer library and its related packages to version 2.7.7-r0 or later.

Plugin Details

Severity: High

ID: 486371

Version: Revision 1.1

Type: Local

Published: 12/1/2026

Updated: 12/1/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.85

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2024-35242

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 6/10/2024

Reference Information

CVE: CVE-2024-35242