CVE-2020-15254 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/crossbeam-rs/crossbeam/issues/539 | CVE | ExploitThird Party Advisory |
| https://github.com/crossbeam-rs/crossbeam/pull/533 | CVE | ExploitPatchThird Party Advisory |
| https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-v5m7-53cv-f3hx | CVE | Third Party Advisory |
| https://github.com/RustSec/advisory-db/pull/425 | CVE | PatchThird Party Advisory |
| https://github.com/crossbeam-rs/crossbeam/issues/539 | [email protected] | ExploitThird Party Advisory |
| https://github.com/crossbeam-rs/crossbeam/pull/533 | [email protected] | ExploitPatchThird Party Advisory |
| https://github.com/crossbeam-rs/crossbeam/security/advisories/GHSA-v5m7-53cv-f3hx | [email protected] | Third Party Advisory |
| https://github.com/RustSec/advisory-db/pull/425 | [email protected] | PatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| crossbeam project crossbeam | < 0.4.4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 5, 2022 | Reanalysis | [email protected] |
| Oct 28, 2020 | Initial Analysis | [email protected] |
| Oct 16, 2020 | CVE Modified | [email protected] |