Alpine: multiple cargo packages, multiple rust packages: security update to 1.51.0-r1 (deprecated)

critical Tenable Self-Hosted Container Security Plugin ID 400222

Description

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

- In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause
uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its
length is checked. (CVE-2020-36323)

- In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if
freeing the element panics. (CVE-2021-31162)

See Also

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

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

Plugin Details

Severity: Critical

ID: 400222

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

Percentile: 57.12

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2021-31162

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/5/2021

Vulnerability Publication Date: 4/14/2021

Reference Information

CVE: CVE-2020-36323, CVE-2021-31162