CVE-2020-15254
Summary
| CVE | CVE-2020-15254 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-10-16 17:15:00 UTC |
| Updated | 2022-08-05 19:30:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Add advisory for UB in crossbeam-channel 0.4.3 by taiki-e · Pull Request #425 · RustSec/advisory-db · GitHub |
MISC |
github.com |
Patch, Third Party Advisory |
| Memory Leak in crossbeam-queue ArrayQueue? (Latest git only, ver0.2.3 is not effected) · Issue #539 · crossbeam-rs/crossbeam · GitHub |
MISC |
github.com |
Exploit, Third Party Advisory |
| Use Box<[T]> instead of Vec<T> to initialize and drop ArrayQueue by caelunshun · Pull Request #533 · crossbeam-rs/crossbeam · GitHub |
MISC |
github.com |
Exploit, Patch, Third Party Advisory |
| Undefined Behavior in bounded channel · Advisory · crossbeam-rs/crossbeam · GitHub |
CONFIRM |
github.com |
Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 500955 Alpine Linux Security Update for firefox
- 503840 Alpine Linux Security Update for firefox