CentOS 8 : rust-toolset:rhel8 (CESA-2021:3063)

critical Nessus Plugin ID 152574

Synopsis

The remote CentOS host is missing one or more security updates.

Description

The remote CentOS Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the CESA-2021:3063 advisory.

- rust: optimization for joining strings can cause uninitialized bytes to be exposed (CVE-2020-36323)

- rust: heap-based buffer overflow in read_to_end() because it does not validate the return value from Read in an unsafe context (CVE-2021-28875)

- rust: panic safety issue in Zip implementation (CVE-2021-28876)

- rust: memory safety violation in Zip implementation for nested iter::Zips (CVE-2021-28877)

- rust: memory safety violation in Zip implementation when next_back() and next() are used together (CVE-2021-28878)

- rust: integer overflow in the Zip implementation can lead to a buffer overflow (CVE-2021-28879)

- rust: double free in Vec::from_iter function if freeing the element panics (CVE-2021-31162)

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://access.redhat.com/errata/RHSA-2021:3063

Plugin Details

Severity: Critical

ID: 152574

File Name: centos8_RHSA-2021-3063.nasl

Version: 1.3

Type: local

Agent: unix

Published: 8/16/2021

Updated: 12/4/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, 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-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

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/10/2021

Vulnerability Publication Date: 4/11/2021

Reference Information

CVE: CVE-2020-36323, CVE-2021-28875, CVE-2021-28876, CVE-2021-28877, CVE-2021-28878, CVE-2021-28879, CVE-2021-31162

RHSA: 2021:3063