QID 239538

Date Published: 2021-08-16

QID 239538: Red Hat Update for rust-toolset:rhel8 (RHSA-2021:3063)

Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and required libraries.The following packages have been upgraded to a later upstream version: rust (1.52.1). (BZ#1953002)

Security Fix(es): 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)

Affected Products:

Red Hat Enterprise Linux for x86_64 8 x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support 8.4 x86_64
Red Hat Enterprise Linux Server - AUS 8.4 x86_64
Red Hat Enterprise Linux for IBM z Systems 8 s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support 8.4 s390x
Red Hat Enterprise Linux for Power, little endian 8 ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support 8.4 ppc64le
Red Hat Enterprise Linux Server - TUS 8.4 x86_64
Red Hat Enterprise Linux for ARM 64 8 aarch64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support 8.4 aarch64
Red Hat Enterprise Linux Server (for IBM Power LE) - Update Services for SAP Solutions 8.4 ppc64le
Red Hat Enterprise Linux Server - Update Services for SAP Solutions 8.4 x86_64

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

On successful exploitation, it could allow an attacker to execute code.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Upgrade to the latest packages which contain a patch. Refer to Applying Package Updates to RHEL system for details.

    Refer to Red Hat security advisory RHSA-2021:3063 to address this issue and obtain more information.

    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    RHSA-2021:3063 Red Hat Enterprise Linux URL Logo access.redhat.com/errata/RHSA-2021:3063?language=en