Alpine: multiple composer packages: security update to 2.0.13-r0

high Tenable Cloud Security Plugin ID 403865

Description

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

- Composer is a dependency manager for PHP. URLs for Mercurial repositories in the root composer.json and
package source download URLs are not sanitized correctly. Specifically crafted URL values allow code to be
executed in the HgDriver if hg/Mercurial is installed on the system. The impact to Composer users directly
is limited as the composer.json file is typically under their own control and source download URLs can
only be supplied by third party Composer repositories they explicitly trust to download and execute source
code from, e.g. Composer plugins. The main impact is to services passing user input to Composer, including
Packagist.org and Private Packagist. This allowed users to trigger remote code execution. The
vulnerability has been patched on Packagist.org and Private Packagist within 12h of receiving the initial
vulnerability report and based on a review of logs, to the best of our knowledge, was not abused by
anyone. Other services/tools using VcsRepository/VcsDriver or derivatives may also be vulnerable and
should upgrade their composer/composer dependency immediately. Versions 1.10.22 and 2.0.13 include patches
for this issue. (CVE-2021-29472)

See Also

https://security.alpinelinux.org/vuln/CVE-2021-29472

Plugin Details

Severity: High

ID: 403865

Version: Revision 1.27

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.15

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.1

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

CVSS Score Source: CVE-2021-29472

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/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: 4/27/2021

Reference Information

CVE: CVE-2021-29472