Alpine: rust: security update to 1.71.1-r0

high Tenable Cloud Security Plugin ID 407032

Description

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

- Cargo downloads the Rust project’s dependencies and compiles the project. Cargo prior to version 0.72.2,
bundled with Rust prior to version 1.71.1, did not respect the umask when extracting crate archives on
UNIX-like systems. If the user downloaded a crate containing files writeable by any local user, another
local user could exploit this to change the source code compiled and executed by the current user. To
prevent existing cached extractions from being exploitable, the Cargo binary version 0.72.2 included in
Rust 1.71.1 or later will purge caches generated by older Cargo versions automatically. As a workaround,
configure one's system to prevent other local users from accessing the Cargo directory, usually located in
`~/.cargo`. (CVE-2023-38497)

See Also

https://security.alpinelinux.org/vuln/CVE-2023-38497

Plugin Details

Severity: High

ID: 407032

Version: Revision 1.31

Type: Local

Published: 10/31/2023

Updated: 9/23/2025

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 97.07

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2023-38497

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.4

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/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: 8/3/2023

Reference Information

CVE: CVE-2023-38497