Alpine: libklibc, multiple klibc packages: security update to 2.0.9-r0

critical Tenable Cloud Security Plugin ID 408077

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- An issue was discovered in klibc before 2.0.9. Multiplication in the calloc() function may result in an
integer overflow and a subsequent heap buffer overflow. (CVE-2021-31870)

- An issue was discovered in klibc before 2.0.9. An integer overflow in the cpio command may result in a
NULL pointer dereference on 64-bit systems. (CVE-2021-31871)

- An issue was discovered in klibc before 2.0.9. Multiple possible integer overflows in the cpio command on
32-bit systems may result in a buffer overflow or other security impact. (CVE-2021-31872)

- An issue was discovered in klibc before 2.0.9. Additions in the malloc() function may result in an integer
overflow and a subsequent heap buffer overflow. (CVE-2021-31873)

See Also

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

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

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

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

Plugin Details

Severity: Critical

ID: 408077

Version: Revision 1.28

Type: Local

Published: 12/7/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.12

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2021-31873

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 4/30/2021

Reference Information

CVE: CVE-2021-31870, CVE-2021-31871, CVE-2021-31872, CVE-2021-31873