CVE-2020-36318

Description

In the standard library in Rust before 1.49.0, VecDeque::make_contiguous has a bug that pops the same element more than once under certain condition. This bug could result in a use-after-free or double free.

Risk Information

Base Score
9.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
0.356

Associated Vulnerability

VulnerabilityOS Platform
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update cargo-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update cargo-doc-1.49.0-1.module+el8.4.0+9446+1a463e08.noarch.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update clippy-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rls-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-analysis-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-debugger-common-1.49.0-1.module+el8.4.0+9446+1a463e08.noarch.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-debugsource-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-doc-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-gdb-1.49.0-1.module+el8.4.0+9446+1a463e08.noarch.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-lldb-1.49.0-1.module+el8.4.0+9446+1a463e08.noarch.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-src-1.49.0-1.module+el8.4.0+9446+1a463e08.noarch.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-std-static-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rust-toolset-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux
(RHSA-2021:1935) rust-toolset:rhel8 security, bug fix, and enhancement update rustfmt-1.49.0-1.module+el8.4.0+9446+1a463e08.x86_64.rpmLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234