Alpine: multiple apk-tools packages, multiple libapk2 packages: security update to 2.12.6-r0

critical Tenable Self-Hosted Container Security Plugin ID 423668

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: 423668

Version: Revision 1.8

Type: Local

Published: 4/4/2025

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 8/3/2021

Reference Information

CVE: CVE-2021-36159