Alpine: apk-tools: security update to 2.10.7-r0

critical Tenable Self-Hosted Container Security Plugin ID 403558

Description

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

- libfetch before 2021-07-26, as used in apk-tools, xbps, and other products, mishandles numeric strings for
the FTP and HTTP protocols. The FTP passive mode implementation allows an out-of-bounds read because
strtol is used to parse the relevant numbers into address bytes. It does not check if the line ends
prematurely. If it does, the for-loop condition checks for the '\0' terminator one byte too late.
(CVE-2021-36159)

See Also

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

Plugin Details

Severity: Critical

ID: 403558

Version: Revision 1.25

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

Percentile: 53.04

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2021-36159

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 8/3/2021

Reference Information

CVE: CVE-2021-36159