1 line
1.4 KiB
JSON
1 line
1.4 KiB
JSON
{"schema_version":"1.7.3","id":"RUSTSEC-2021-0073","published":"2021-07-08T12:00:00Z","modified":"2023-11-08T04:06:26.043741Z","aliases":["CVE-2021-38192","GHSA-x4qm-mcjq-v2gf"],"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<Timestamp> for SystemTime` to `TryFrom<Timestamp> for SystemTime`.\n\nSee [#438] for more information.\n\n[#438]: 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<SystemTime>"],"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"}}],"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"}],"database_specific":{"license":"CC0-1.0"}} |