CVE-2020-36470 Data race in disrustor
Attackers can exploit improper mutable reference limits in the disrustor crate to cause memory corruption, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-36470?
CVE-2020-36470 is a medium-severity memory corruption vulnerability in n/a, published on 8 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the disrustor crate through 2020-12-17 for Rust. RingBuffer doe not properly limit the number of mutable references.
Which versions are affected by CVE-2020-36470?
3 open source packages ship an affected version, including disrustor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
disrustor crates.io | All versions | 0.3.0 |
disrustor crates.io | All versions | 0.3.0 |
disrustor crates.io | From 0.0.0-0 | 0.3.0 |
Products include Disrustor Project Disrustor.
How do I fix CVE-2020-36470?
Upgrade disrustor to 0.3.0 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-36470 being exploited?
There is no known exploitation of CVE-2020-36470 in the wild and no public exploit code.
Sources
Also known as GHSA-w9r2-qrpm-4rmj, RUSTSEC-2020-0150.