Alerts This Week
Warning Icon 1 692
Alerts This Week
Warning Icon 1 692

Red Hat Enterprise Linux 8 RHSA-2021-3063-01 Moderate Rust Toolset Update

red hat
Calendar Grey August 10, 2021
Dist Redhat Esm H88
Red Hat introduces enhancements to the rust-toolset in RHEL8, tackling significant security vulnerabilities and bug fixes. Discover more.
An update for the rust-toolset:rhel8 module is now available for Red Hat Enterprise Linux 8

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Summary

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)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
For information on usage, see Using Rust Toolset linked in the References section.

References

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 https://access.redhat.com/security/cve/CVE-2021-28879 https://access.redhat.com/security/cve/CVE-2021-31162 https://access.redhat.com/security/updates/classification/#moderate

Package List

Red Hat Enterprise Linux AppStream (v. 8):
Source: rust-1.52.1-1.module+el8.4.0+11282+0729bac9.src.rpm rust-toolset-1.52.1-1.module+el8.4.0+11282+0729bac9.src.rpm
aarch64: cargo-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm cargo-debuginfo-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm clippy-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm clippy-debuginfo-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rls-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rls-debuginfo-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rust-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rust-analysis-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rust-debuginfo-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rust-debugsource-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rust-doc-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rust-std-static-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rust-toolset-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rustfmt-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm rustfmt-debuginfo-1.52.1-1.module+el8.4.0+11282+0729bac9.aarch64.rpm
noarch: cargo-doc-1.52.1-1.module+el8.4.0+11282+0729bac9.noarch.rpm rust-debugger-common-1.52.1-1.module+el8.4.0+11282+0729bac9.noarch.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2021:3063-01
Product: Red Hat Enterprise Linux
Issue date: 2021-08-10

Topic

An update for the rust-toolset:rhel8 module is now available for Red HatEnterprise Linux 8.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, noarch, ppc64le, s390x, x86_64

Bugs Fixed

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

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

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

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

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

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

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

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here