CVE-2020-35879 Data races in rulinalg
Incorrect lifetime boundaries in the rulinalg crate allow 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
- None listed
What is CVE-2020-35879?
CVE-2020-35879 is a critical memory corruption vulnerability in n/a, published on 31 Dec 2020. 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 rulinalg crate through 2020-02-11 for Rust. There are incorrect lifetime-boundary definitions for RowMut::raw_slice and RowMut::raw_slice_mut.
Which versions are affected by CVE-2020-35879?
3 open source packages ship an affected version, including rulinalg. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
rulinalg crates.io | From 0.4.0 | None |
rulinalg crates.io | From 0.4.0 to 0.4.2 | None |
rulinalg crates.io | From 0.4.0 to 0.4.2 | None |
Products include Rulinalg Project Rulinalg.
How do I fix CVE-2020-35879?
No fix has been published for CVE-2020-35879 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-35879 being exploited?
There is no known exploitation of CVE-2020-35879 in the wild and no public exploit code.
Sources
Also known as GHSA-q2gj-9r85-p832, RUSTSEC-2020-0023.