CVE-2020-35858 json
Out of bounds write in prost
published 6y ago modified 3mo ago also GHSA-gv73-9mwv-fwgq , RUSTSEC-2020-0002 , EUVD-2021-1729
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.4%
- EPSS 3.4% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- crates.io prost 0.6.1
- prost_project prost 0.6.1
Is CVE-2020-35858 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
3.40% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0002.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | prost | <0.6.1 >=0.0.0-0, <0.6.1 |
0.6.1 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
rustsec.org
/advisories/RUSTSEC-2020-0002.html
web, exploit, patch, third-party-advisory, advisory
-
github.com
/danburkert/prost/commit/04091d3e745c27590a5f1b7f581793e4159486b5
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-35858
advisory
-
github.com
/danburkert/prost/issues/267
web, report
-
github.com
/danburkert/prost
package
-
crates.io
/crates/prost
package
Sources
- CVE List CVE-2020-35858
- GitHub Advisory GHSA-gv73-9mwv-fwgq
- NVD CVE-2020-35858
- OSV RUSTSEC-2020-0002
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.