—
RUSTSEC-2021-0073
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
Are you affected?
Enter the version of the package you're using.
Affected packages
crates.io/prost-types
Introduced in:
0.0.0-0Fixed in: 0.8.0Upgrade prost-types to 0.8.0 or newer (ecosystem crates.io).