{"id":"RUSTSEC-2021-0073","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`.\n\nIt is recommended to upgrade to `prost-types` v0.8 and switch the usage of `From\u003cTimestamp\u003e for SystemTime` to `TryFrom\u003cTimestamp\u003e for SystemTime`.\n\nSee [#438] for more information.\n\n[#438]: https://github.com/tokio-rs/prost/issues/438","aliases":["CVE-2021-38192","GHSA-x4qm-mcjq-v2gf"],"modified":"2023-11-08T04:06:26.043741Z","published":"2021-07-08T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/prost-types"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0073.html"},{"type":"REPORT","url":"https://github.com/tokio-rs/prost/issues/438"}],"affected":[{"package":{"name":"prost-types","ecosystem":"crates.io","purl":"pkg:cargo/prost-types"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.8.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":["prost_types::Timestamp::Into\u003cSystemTime\u003e"],"os":[]}},"database_specific":{"categories":["denial-of-service"],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0073.json"}}],"schema_version":"1.7.3"}