CVE-2020-15254
Last modified
CVE-2020-15254 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.74% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Crossbeam Project | Crossbeam | < 0.4.4 |
References
- https://github.com/RustSec/advisory-db/pull/425Patch, Third Party Advisory
- https://github.com/crossbeam-rs/crossbeam/issues/539Exploit, Third Party Advisory
- https://github.com/crossbeam-rs/crossbeam/pull/533Exploit, Patch, Third Party Advisory
- https://github.com/RustSec/advisory-db/pull/425Patch, Third Party Advisory
- https://github.com/crossbeam-rs/crossbeam/issues/539Exploit, Third Party Advisory
- https://github.com/crossbeam-rs/crossbeam/pull/533Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-15254?
How severe is CVE-2020-15254?
How do I fix CVE-2020-15254?
Are you affected by CVE-2020-15254?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
