RUSTSEC-2020-0002

    Dashboard / Vulnerabilities / RUSTSEC-2020-0002

    RUSTSEC-2020-0002

    Published: 16 Jan 2020Last Modified: 17 Jul 2026

    Summary: Parsing a specially crafted message can result in a stack overflow

    Details: 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). The flaw was quickly corrected by [@danburkert](https://github.com/danburkert) and released in version 0.6.1.

    Affected packages

    Package

    Name: prost

    Purl: pkg:cargo/prost

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.6.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    RUSTSEC-2020-0002 | CVE-DB