Alpine: multiple apk-tools packages, lua5.3-apk: security update to 2.12.5-r1 (deprecated)

critical Tenable Self-Hosted Container Security Plugin ID 400169

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://git.alpinelinux.org/aports/commit/?id=ba54280df46b2919a3cec3dbc551dfcb04387ac0

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

Plugin Details

Severity: Critical

ID: 400169

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

Patch Publication Date: 7/26/2021

Vulnerability Publication Date: 8/3/2021

Reference Information

CVE: CVE-2021-36159