Oracle Linux 8 : rust-toolset:ol8 (ELSA-2021-1935)

critical Nessus Plugin ID 149927

Synopsis

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

Description

The remote Oracle Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the ELSA-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 this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://linux.oracle.com/errata/ELSA-2021-1935.html

Plugin Details

Severity: Critical

ID: 149927

File Name: oraclelinux_ELSA-2021-1935.nasl

Version: 1.3

Type: local

Agent: unix

Published: 5/26/2021

Updated: 12/28/2023

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, 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: cpe:/o:oracle:linux:8, p-cpe:/a:oracle:linux:cargo, p-cpe:/a:oracle:linux:cargo-doc, p-cpe:/a:oracle:linux:clippy, p-cpe:/a:oracle:linux:rls, p-cpe:/a:oracle:linux:rust, p-cpe:/a:oracle:linux:rust-analysis, p-cpe:/a:oracle:linux:rust-debugger-common, p-cpe:/a:oracle:linux:rust-doc, p-cpe:/a:oracle:linux:rust-gdb, p-cpe:/a:oracle:linux:rust-lldb, p-cpe:/a:oracle:linux:rust-src, p-cpe:/a:oracle:linux:rust-std-static, p-cpe:/a:oracle:linux:rust-toolset, p-cpe:/a:oracle:linux:rustfmt

Required KB Items: Host/OracleLinux, Host/RedHat/release, Host/RedHat/rpm-list, Host/local_checks_enabled

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/25/2021

Vulnerability Publication Date: 4/11/2021

Reference Information

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