| Vulnerability Name: | CVE-2021-31162 (CCN-200135) | ||||||||||||||||||
| Assigned: | 2021-03-28 | ||||||||||||||||||
| Published: | 2021-03-28 | ||||||||||||||||||
| Updated: | 2022-11-03 | ||||||||||||||||||
| Summary: | In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the element panics. | ||||||||||||||||||
| CVSS v3 Severity: | 9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) 8.8 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
8.8 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
8.8 High (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
| ||||||||||||||||||
| CVSS v2 Severity: | 7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
| ||||||||||||||||||
| Vulnerability Type: | CWE-415 CWE-416 | ||||||||||||||||||
| Vulnerability Consequences: | Gain Access | ||||||||||||||||||
| References: | Source: MITRE Type: CNA CVE-2021-31162 Source: XF Type: UNKNOWN rust-cve202131162-code-exec(200135) Source: CCN Type: Rust GIT Repository Double free in Vec::from_iter specialization when drop panics #83618 Source: MISC Type: Exploit, Third Party Advisory https://github.com/rust-lang/rust/issues/83618 Source: MISC Type: Patch, Third Party Advisory https://github.com/rust-lang/rust/pull/83629 Source: CONFIRM Type: Patch, Third Party Advisory https://github.com/rust-lang/rust/pull/84603 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-d0ba1901ca Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-d7f74f0250 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-b1ba54add6 Source: GENTOO Type: Third Party Advisory GLSA-202210-09 | ||||||||||||||||||
| Vulnerable Configuration: | Configuration 1: Configuration 2: Configuration RedHat 1: Configuration RedHat 2: Configuration CCN 1: Denotes that component is vulnerable | ||||||||||||||||||
| Oval Definitions | |||||||||||||||||||
| |||||||||||||||||||
| BACK | |||||||||||||||||||