~ / search / GHSA-x4qm-mcjq-v2gf

GHSA-x4qm-mcjq-v2gf

Overflow in prost-types

Source: GitHub Advisory Database (reviewed) High CVE-2021-38192

Packages

EcosystemPackageAffectedFixed in
crates.io prost-types < 0.8.0 0.8.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.