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 #610

Closed
github-actions bot opened this issue Jul 9, 2021 · 2 comments
Assignees

Comments

@github-actions
Copy link
Contributor

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.

@jyhi jyhi self-assigned this Nov 16, 2021
@jyhi
Copy link
Contributor

jyhi commented Nov 16, 2021

prost-types is in bindings/java/native/Cargo.lock, but a cargo update under bindings/java/native updates bindings/java/Cargo.lock instead. Is bindings/java/native/Cargo.lock useful? @Thoralf-M

@jyhi
Copy link
Contributor

jyhi commented Mar 14, 2022

This has been fixed with the CI workflows.

@jyhi jyhi reopened this Mar 14, 2022
@jyhi jyhi closed this as completed Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants