SCA: security update for composer/composer (GHSA-x7cr-6qr6-2hh6)

high Tenable Cloud Security Plugin ID 420352

Description

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

- Composer is a dependency manager for the PHP programming language. Integrators using Composer code to call
`VcsDriver::getFileContent` can have a code injection vulnerability if the user can control the `$file` or
`$identifier` argument. This leads to a vulnerability on packagist.org for example where the
composer.json's `readme` field can be used as a vector for injecting parameters into hg/Mercurial via the
`$file` argument, or git via the `$identifier` argument if you allow arbitrary data there (Packagist does
not, but maybe other integrators do). Composer itself should not be affected by the vulnerability as it
does not call `getFileContent` with arbitrary data into `$file`/`$identifier`. To the best of our
knowledge this was not abused, and the vulnerability has been patched on packagist.org and Private
Packagist within a day of the vulnerability report. (CVE-2022-24828)

See Also

https://github.com/advisories/GHSA-x7cr-6qr6-2hh6

Plugin Details

Severity: High

ID: 420352

Version: Revision 1.6

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.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2022-24828

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: 4/22/2022

Vulnerability Publication Date: 4/13/2022

Reference Information

CVE: CVE-2022-24828