Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUSTSEC-2021-0073: Conversion from prost_types::Timestamp to SystemTime can cause an overflow and panic #925

Closed
github-actions bot opened this issue Jul 9, 2021 · 1 comment · Fixed by #926 or #1011
Assignees
Labels
dependencies Pull requests that update a dependency file serialization
Milestone

Comments

@github-actions
Copy link

github-actions bot commented Jul 9, 2021

Conversion from prost_types::Timestamp to SystemTime can cause an overflow and panic

Details
Package prost-types
Version 0.7.0
URL tokio-rs/prost#438
Date 2021-07-08
Patched versions >=0.8.0

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.

See advisory page for additional details.

@thanethomson
Copy link
Contributor

Reopening this until tokio-rs/prost#502 is resolved. Will open a PR with a temporary revert for #926 shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment