RUSTSEC-2021-0073

Source
https://rustsec.org/advisories/RUSTSEC-2021-0073
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0073.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2021-0073
Aliases
Published
2021-07-08T12:00:00Z
Modified
2023-11-08T04:06:26.043741Z
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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / prost-types

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.8.0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "prost_types::Timestamp::Into<SystemTime>"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}