RLSA-2021:3063

Type: Security
Severity: Moderate
Published: 2021-08-10
Rocky Linux 8

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.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T06:18:18.195Z UTC

Official vendor advisory

Rocky Linux 8

View source
Observed 2026-11-28T06:18:18.195Z UTC. Last updated 2025-12-10T09:35:48.793Z UTC.

Upstream Advisory

Affected Packages

  • rust-doc 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • cargo 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • cargo-doc 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • clippy 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rls 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rust 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rust-analysis 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rust-debugger-common 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rustfmt 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rust-gdb 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rust-lldb 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rust-src 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rust-std-static 0:1.52.1-1.module+el8.4.0+641+ca238f88

  • rust-toolset 0:1.52.1-1.module+el8.4.0+641+ca238f88

Interested in being alerted when there are new versions of rust-doc and the other packages? Set up an alert.
RLSA-2021:3063: rust-toolset:rhel8 security, bug fix, and enhancement update | Package Alert