Alpine: rust: security update to 1.66.1-r0

medium Tenable Self-Hosted Container Security Plugin ID 407031

Description

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

- Cargo is a Rust package manager. The Rust Security Response WG was notified that Cargo did not perform SSH
host key verification when cloning indexes and dependencies via SSH. An attacker could exploit this to
perform man-in-the-middle (MITM) attacks. This vulnerability has been assigned CVE-2022-46176. All Rust
versions containing Cargo before 1.66.1 are vulnerable. Note that even if you don't explicitly use SSH for
alternate registry indexes or crate dependencies, you might be affected by this vulnerability if you have
configured git to replace HTTPS connections to GitHub with SSH (through git's [`url.<base>.insteadOf`][1]
setting), as that'd cause you to clone the crates.io index through SSH. Rust 1.66.1 will ensure Cargo
checks the SSH host key and abort the connection if the server's public key is not already trusted. We
recommend everyone to upgrade as soon as possible. (CVE-2022-46176)

See Also

https://security.alpinelinux.org/vuln/CVE-2022-46176

Plugin Details

Severity: Medium

ID: 407031

Version: Revision 1.36

Type: Local

Published: 10/31/2023

Updated: 9/18/2025

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

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

CVSS Score Source: CVE-2022-46176

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 1/10/2023

Reference Information

CVE: CVE-2022-46176