CVE-2020-36323

cargo: Rust Toolset provides the Rust programming language compiler rustc, the cargo build tool and dependency manager, and...

CVE-2020-36323 is fixed in 18 products on 1 platform, first by libstd-rust-1.53 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1, released August 7, 2021. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
8.2
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0203
81st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
cargo · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
cargo · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
cargo-doc · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
cargo-doc · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
clippy · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
clippy · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
libstd-rust-1.53 · Ubuntu 20.04 LTS (focal) 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 libstd-rust-1.53 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 Aug 7, 2021
libstd-rust-1.53 · Ubuntu 22.04.1 LTS (jammy) 1.53.0+dfsg1+llvm-4ubuntu1 libstd-rust-1.53 1.53.0+dfsg1+llvm-4ubuntu1 Aug 7, 2021
rls · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rls · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rust · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rust · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rust-all · Ubuntu 20.04 LTS (focal) 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 rust-all 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 Aug 7, 2021
rust-all · Ubuntu 22.04.1 LTS (jammy) 1.53.0+dfsg1+llvm-4ubuntu1 rust-all 1.53.0+dfsg1+llvm-4ubuntu1 Aug 7, 2021
rust-analysis · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rust-analysis · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rust-clippy · Ubuntu 20.04 LTS (focal) 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 rust-clippy 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 Aug 7, 2021
rust-clippy · Ubuntu 22.04.1 LTS (jammy) 1.53.0+dfsg1+llvm-4ubuntu1 rust-clippy 1.53.0+dfsg1+llvm-4ubuntu1 Aug 7, 2021
rust-debugger-common · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rust-debugger-common · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rust-doc · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rust-doc · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rust-gdb · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rust-gdb · Ubuntu 20.04 LTS (focal) 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 rust-gdb 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 Aug 7, 2021
rust-gdb · Ubuntu 22.04.1 LTS (jammy) 1.53.0+dfsg1+llvm-4ubuntu1 rust-gdb 1.53.0+dfsg1+llvm-4ubuntu1 Aug 7, 2021
rust-gdb · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rust-lldb · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rust-lldb · Ubuntu 20.04 LTS (focal) 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 rust-lldb 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 Aug 7, 2021
rust-lldb · Ubuntu 22.04.1 LTS (jammy) 1.53.0+dfsg1+llvm-4ubuntu1 rust-lldb 1.53.0+dfsg1+llvm-4ubuntu1 Aug 7, 2021
rust-lldb · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rust-src · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rust-src · Ubuntu 20.04 LTS (focal) 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 rust-src 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 Aug 7, 2021
rust-src · Ubuntu 22.04.1 LTS (jammy) 1.53.0+dfsg1+llvm-4ubuntu1 rust-src 1.53.0+dfsg1+llvm-4ubuntu1 Aug 7, 2021
rust-src · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rust-std-static · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rust-std-static · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rust-toolset · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rust-toolset · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021
rustc · Ubuntu 20.04 LTS (focal) 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 rustc 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 Aug 7, 2021
rustc · Ubuntu 22.04.1 LTS (jammy) 1.53.0+dfsg1+llvm-4ubuntu1 rustc 1.53.0+dfsg1+llvm-4ubuntu1 Aug 7, 2021
rustfmt · RHEL 8 0:1.52.1-1.module+el8.4.0+11282+0729bac9 RHSA-2021:3063 Aug 10, 2021
rustfmt · Ubuntu 20.04 LTS (focal) 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 rustfmt 1.53.0+dfsg1+llvm-4ubuntu1~20.04.1 Aug 7, 2021
rustfmt · Ubuntu 22.04.1 LTS (jammy) 1.53.0+dfsg1+llvm-4ubuntu1 rustfmt 1.53.0+dfsg1+llvm-4ubuntu1 Aug 7, 2021
rustfmt · ol 8 0:1.52.1-1.module+el8.4.0+20287+5ada6442 ELSA-2021-3063 Aug 12, 2021

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.