Critical severity · published Oct 16, 2020
CVE-2020-15254
Crossbeam is a set of tools for concurrent programming
9.8
CVSS
2.7%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.7% · higher than 86% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CR
Crossbeam · Crossbeam Project
before 0.4.4 · source: NVD
Affected product
CR
Crossbeam
Crossbeam Project
More from Crossbeam
9.8
CVE-2021-32810
crossbeam-deque is a package of work-stealing deques for building task schedulers when programming in Rust
9.8
CVE-2018-20996
An issue was discovered in the crossbeam crate before 0.4.1 for Rust
8.1
CVE-2022-23639
crossbeam-utils provides atomics, synchronization primitives, scoped threads, and other utilities for concurrent programming in Rust