RHEL 7 : rust-toolset-1.52 and rust-toolset-1.52-rust (RHSA-2021:3042)

critical Nessus Plugin ID 152446

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2021:3042 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 these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://access.redhat.com/security/cve/CVE-2021-28879

https://access.redhat.com/security/cve/CVE-2021-31162

https://access.redhat.com/errata/RHSA-2021:3042

https://bugzilla.redhat.com/1949194

https://bugzilla.redhat.com/1949198

https://bugzilla.redhat.com/1949204

https://bugzilla.redhat.com/1949207

https://bugzilla.redhat.com/1949211

https://bugzilla.redhat.com/1950396

https://bugzilla.redhat.com/1950398

https://access.redhat.com/security/cve/CVE-2020-36323

https://access.redhat.com/security/cve/CVE-2021-28875

https://access.redhat.com/security/cve/CVE-2021-28876

https://access.redhat.com/security/cve/CVE-2021-28877

https://access.redhat.com/security/cve/CVE-2021-28878

Plugin Details

Severity: Critical

ID: 152446

File Name: redhat-RHSA-2021-3042.nasl

Version: 1.8

Type: local

Agent: unix

Published: 8/11/2021

Updated: 12/4/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless 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-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: cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-build, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-cargo, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-cargo-doc, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-clippy, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rls, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-runtime, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rust, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rust-analysis, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rust-debugger-common, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rust-doc, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rust-gdb, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rust-lldb, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rust-src, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rust-std-static, p-cpe:/a:redhat:enterprise_linux:rust-toolset-1.52-rustfmt

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/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

CWE: 119, 190, 20, 416

RHSA: 2021:3042