-
Notifications
You must be signed in to change notification settings - Fork 97
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
Upgrade crates with known vulnerabilities #2560
Conversation
dependencies = [ | ||
"ring", | ||
"untrusted", | ||
] | ||
|
||
[[package]] | ||
name = "whoami" | ||
version = "1.4.1" | ||
version = "1.5.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -5215,19 +5230,23 @@ dependencies = [ | |||
|
|||
[[package]] | |||
name = "webpki" | |||
version = "0.22.0" | |||
version = "0.22.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -3779,9 +3788,9 @@ dependencies = [ | |||
|
|||
[[package]] | |||
name = "rustls-webpki" | |||
version = "0.101.3" | |||
version = "0.101.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -3081,11 +3081,11 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" | |||
|
|||
[[package]] | |||
name = "openssl" | |||
version = "0.10.56" | |||
version = "0.10.64" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -6,7 +6,7 @@ edition = "2021" | |||
license = "MIT OR Apache-2.0" | |||
|
|||
[dependencies] | |||
atty = "0.2" | |||
atty = "0.2.14" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://rustsec.org/advisories/RUSTSEC-2021-0145 (still not solved with this update, they are working on it)
@@ -2204,17 +2204,17 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" | |||
|
|||
[[package]] | |||
name = "h2" | |||
version = "0.3.20" | |||
version = "0.3.25" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -2808,9 +2808,9 @@ dependencies = [ | |||
|
|||
[[package]] | |||
name = "mio" | |||
version = "0.8.8" | |||
version = "0.8.11" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about upgrading transitive dependencies directly through the |
Updating dependencies in @squadgazzz for example, the dependency Another reason why it is safe. Remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice initiative!
BTW there is also cargo audit fix
which adds a lot of additional changes to the lockfile. Did you consider using that instead?
umm first time I heard of |
It's a separate command that can be added to cargo itself. More information can be found here: https://crates.io/crates/cargo-audit |
ah I has to be installed with a feature flag, I see. I didn't know, thanks!! I did it and it didn't update anything else besides what I updated in this PR. |
Description
Upgrade crates with known vulnerabilities
Changes
Several crates have been updated to avoid known vulnerabilities
How to test