CVE-2020-35858 Out of bounds write in prost
A crafted message in the prost crate can cause stack consumption leading to denial of service or potential remote code execution.
- 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-35858?
CVE-2020-35858 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 prost crate before 0.6.1 for Rust. There is stack consumption via a crafted message, causing a denial of service (e.g., x86) or possibly remote code execution (e.g., ARM).
Weakness: CWE-787
Which versions are affected by CVE-2020-35858?
3 open source packages ship an affected version, including prost. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
prost crates.io | All versions | 0.6.1 |
prost crates.io | All versions | 0.6.1 |
prost crates.io | From 0.0.0-0 | 0.6.1 |
Products include Prost Project Prost.
How do I fix CVE-2020-35858?
Upgrade prost to 0.6.1 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-35858 being exploited?
There is no known exploitation of CVE-2020-35858 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-gv73-9mwv-fwgq, RUSTSEC-2020-0002.