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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-15249October is a free, open-source, self-hosted CMS platform bas…5.4
- CVE-2020-1525A memory corruption vulnerability exists when Windows Media …7.8
- CVE-2020-15250In JUnit4 from version 4.7 and before 4.13.1, the test rule …5.5
- CVE-2020-15251In the Channelmgnt plug-in for Sopel (a Python IRC bot) befo…6.5
- CVE-2020-15252In XWiki before version 12.5 and 11.10.6, any user with SCRI…8.8
- CVE-2020-15253Versions of Grocy <= 2.7.1 are vulnerable to Cross-Site Scri…4.8
- CVE-2020-15255In Anuko Time Tracker before verion 1.19.23.5325, due to not…7.3
- CVE-2020-15256A prototype pollution vulnerability has been found in `objec…9.8
- CVE-2020-15257containerd is an industry-standard container runtime and is …5.2
- CVE-2020-15258In Wire before 3.20.x, `shell.openExternal` was used without…8
- CVE-2020-15259ad-ldap-connector's admin panel before version 5.0.13 does n…8.8
- CVE-2020-1526An elevation of privilege vulnerability exists when the Wind…7.8
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
