RUSTSEC-2021-0073

    Dashboard / Vulnerabilities / RUSTSEC-2021-0073

    RUSTSEC-2021-0073

    Published: 8 Jul 2021Last Modified: 8 Nov 2023

    Summary: Conversion from `prost_types::Timestamp` to `SystemTime` can cause an overflow and panic

    Details: Affected versions of this crate contained a bug in which untrusted input could cause an overflow and panic when converting a `Timestamp` to `SystemTime`. It is recommended to upgrade to `prost-types` v0.8 and switch the usage of `From<Timestamp> for SystemTime` to `TryFrom<Timestamp> for SystemTime`. See [#438] for more information. [#438]: https://github.com/tokio-rs/prost/issues/438

    Affected packages

    Package

    Name: prost-types

    Purl: pkg:cargo/prost-types

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.0.0-0
    Fixed -0.8.0

    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-2021-0073 | CVE-DB