Alpine: multiple cpio packages: security update to 2.13-r2 (deprecated)

high Tenable Cloud Security Plugin ID 400108

Description

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

- GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a
dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear
whether there are common cases where the pattern file, associated with the -E option, is untrusted data.
(CVE-2021-38185)

See Also

https://git.alpinelinux.org/aports/commit/?id=3b4fd7022c6318ed385fa47f57436d5343c1506e

https://git.alpinelinux.org/aports/commit/?id=dfc99097d6372098d36f33a1c80961d3639293f2

Plugin Details

Severity: High

ID: 400108

Version: Revision 1.23

Type: Local

Published: 8/16/2023

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.36

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2021-38185

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/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

Patch Publication Date: 10/11/2021

Vulnerability Publication Date: 8/8/2021

Reference Information

CVE: CVE-2021-38185