Vulnerability Name: | CVE-2020-15254 (CCN-189972) | ||||||||||||
Assigned: | 2020-10-14 | ||||||||||||
Published: | 2020-10-14 | ||||||||||||
Updated: | 2022-08-05 | ||||||||||||
Summary: | Crossbeam is a set of tools for concurrent programming. In crossbeam-channel before version 0.4.4, the bounded channel incorrectly assumes that `Vec::from_iter` has allocated capacity that same as the number of iterator elements. `Vec::from_iter` does not actually guarantee that and may allocate extra memory. The destructor of the `bounded` channel reconstructs `Vec` from the raw pointer based on the incorrect assumes described above. This is unsound and causing deallocation with the incorrect capacity when `Vec::from_iter` has allocated different sizes with the number of iterator elements. This has been fixed in crossbeam-channel 0.4.4. | ||||||||||||
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.5 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:U/RL:O/RC:C)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/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-401 | ||||||||||||
Vulnerability Consequences: | Gain Access | ||||||||||||
References: | Source: MITRE Type: CNA CVE-2020-15254 Source: XF Type: UNKNOWN crossbeam-cve202015254-weak-security(189972) Source: MISC Type: Exploit, Third Party Advisory https://github.com/crossbeam-rs/crossbeam/issues/539 Source: MISC Type: Exploit, Patch, Third Party Advisory https://github.com/crossbeam-rs/crossbeam/pull/533 Source: CCN Type: Crossbeam GIT Repository Undefined Behavior in bounded channel Source: CONFIRM Type: Third Party Advisory https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-v5m7-53cv-f3hx Source: MISC Type: Patch, Third Party Advisory https://github.com/RustSec/advisory-db/pull/425 Source: CCN Type: WhiteSource Vulnerability Database CVE-2020-15254 | ||||||||||||
Vulnerable Configuration: | Configuration 1: Configuration CCN 1: Denotes that component is vulnerable | ||||||||||||
Oval Definitions | |||||||||||||
| |||||||||||||
BACK |