{"id":"CVE-2020-35858","aliases":["CVE-2020-35858","GHSA-gv73-9mwv-fwgq","RUSTSEC-2020-0002"],"related":[],"kind":"vulnerability","state":"published","title":"Out of bounds write in prost","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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate contained a bug in which decoding untrusted input could overflow the stack. On architectures with stack probes (like x86), this can be used for denial of service attacks, while on architectures without stack probes (like ARM) overflowing the stack is unsound and can result in potential memory corruption (or even RCE).","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of this crate contained a bug in which decoding untrusted\ninput could overflow the stack.\n\nOn architectures with stack probes (like x86), this can be used for denial of\nservice attacks, while on architectures without stack probes (like ARM)\noverflowing the stack is unsound and can result in potential memory corruption\n(or even RCE).\n \nThe flaw was quickly corrected by [@danburkert](https://github.com/danburkert) and released in\nversion 0.6.1.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate prost versiones anteriores a 0.6.1 para Rust.&#xa0;Se presenta un consumo de pila por medio de un mensaje diseñado, causando una denegación de servicio (por ejemplo, x86) o posiblemente una ejecución de código remota (por ejemplo, ARM).","source":"nvd"}],"published":"2020-01-16T12:00:00.000Z","modified":"2026-07-17T16:00:03.225Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.1"}],"ecosystem":"crates.io","package":"prost","purl":"pkg:cargo/prost","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.6.1"}],"ecosystem":"crates.io","package":"prost","purl":"pkg:cargo/prost","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.6.1"}],"vendor":"prost_project","product":"prost","cpe":"cpe:2.3:a:prost_project:prost:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0002.html","tags":["advisory","exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35858","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/danburkert/prost/issues/267","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/danburkert/prost/commit/04091d3e745c27590a5f1b7f581793e4159486b5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/danburkert/prost","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/prost","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35858","url":"https://www.cve.org/CVERecord?id=CVE-2020-35858","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:12.590Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gv73-9mwv-fwgq","url":"https://github.com/advisories/GHSA-gv73-9mwv-fwgq","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:35.913Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0002","url":"https://rustsec.org/advisories/RUSTSEC-2020-0002.html","licence":"CC0-1.0","modified":"2026-07-17T16:00:03.225Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35858","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35858","licence":"Public domain","modified":"2026-06-17T03:14:28.637Z"}],"updatedAt":"2026-11-25T22:57:56.664Z","epss":{"score":0.03401,"percentile":0.89158,"date":"2026-12-01T12:00:22.000Z"}}