CVE-2020-35858
CRITICAL 9.8CVSS 3.1Out of bounds write in prost
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).
- Published
- 31 Dec 2020
- Last modified
- 17 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-787
- Also known as
- GHSA-gv73-9mwv-fwgqRUSTSEC-2020-0002
- Sources
- NVDJSONOSV GHSA-gv73-9mwv-fwgqJSONOSV RUSTSEC-2020-0002JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | prost_project | prostcpe:2.3:a:prost_project:prost:*:*:*:*:*:rust:*:* |
< 0.6.1 | 0.6.1 |
| OSV | crates.io | prost | < 0.6.1 | 0.6.1 |
| OSV | crates.io | prost | >= 0.0.0-0, < 0.6.1 | 0.6.1 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0002.html · Exploit, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35858 · ADVISORY
- https://github.com/danburkert/prost/issues/267 · WEB, REPORT
- https://github.com/danburkert/prost/commit/04091d3e745c27590a5f1b7f581793e4159486b5 · WEB
- https://github.com/danburkert/prost · PACKAGE
- https://crates.io/crates/prost · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jan 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)