Rocky Linux 8 : rust-toolset:rhel8 (RLSA-2021:1935)

critical Nessus Plugin ID 184983

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2021:1935 advisory.

- In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem. It allows creation of a non-UTF-8 Rust string when the provided closure panics. This bug could result in a memory safety violation when other string APIs assume that UTF-8 encoding is used on the same string.
(CVE-2020-36317)

- In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.
(CVE-2020-36318)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2021:1935

https://bugzilla.redhat.com/show_bug.cgi?id=1949189

https://bugzilla.redhat.com/show_bug.cgi?id=1949192

Plugin Details

Severity: Critical

ID: 184983

File Name: rocky_linux_RLSA-2021-1935.nasl

Version: 1.0

Type: local

Published: 11/7/2023

Updated: 11/7/2023

Supported Sensors: Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

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-2020-36318

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

CPE: p-cpe:/a:rocky:linux:clippy, p-cpe:/a:rocky:linux:cargo, cpe:/o:rocky:linux:8, p-cpe:/a:rocky:linux:cargo-debuginfo, p-cpe:/a:rocky:linux:rust-std-static, p-cpe:/a:rocky:linux:rust-lldb, p-cpe:/a:rocky:linux:rust-debuginfo, p-cpe:/a:rocky:linux:rust-analysis, p-cpe:/a:rocky:linux:rust-toolset, p-cpe:/a:rocky:linux:rls, p-cpe:/a:rocky:linux:rust-gdb, p-cpe:/a:rocky:linux:rust-src, p-cpe:/a:rocky:linux:rls-debuginfo, p-cpe:/a:rocky:linux:rust, p-cpe:/a:rocky:linux:rustfmt, p-cpe:/a:rocky:linux:rust-debugger-common, p-cpe:/a:rocky:linux:rust-debugsource, p-cpe:/a:rocky:linux:clippy-debuginfo, p-cpe:/a:rocky:linux:cargo-doc, p-cpe:/a:rocky:linux:rustfmt-debuginfo, p-cpe:/a:rocky:linux:rust-doc

Required KB Items: Host/local_checks_enabled, Host/RockyLinux/release, Host/RockyLinux/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/18/2021

Vulnerability Publication Date: 4/11/2021

Reference Information

CVE: CVE-2020-36317, CVE-2020-36318