Skip to content

Commit

Permalink
Update async-tungstenite to v0.23.0
Browse files Browse the repository at this point in the history
This in turns updates `tungstenite` to v0.20.0+, will pulls in v0.20.1,
which contains a fix for this security advisory about a DoS attack:

https://github.com/informalsystems/hermes/security/dependabot/33
  • Loading branch information
romac committed Sep 26, 2023
1 parent 89da5f6 commit c6d4023
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"

members = [
"abci",
Expand Down
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ subtle = { version = "2", default-features = false }
semver = { version = "1.0", default-features = false }

# Optional dependencies
async-tungstenite = { version = "0.20", default-features = false, features = ["tokio-runtime", "tokio-rustls-native-certs"], optional = true }
async-tungstenite = { version = "0.23", default-features = false, features = ["tokio-runtime", "tokio-rustls-native-certs"], optional = true }
futures = { version = "0.3", optional = true, default-features = false }
http = { version = "0.2", optional = true, default-features = false }
hyper = { version = "0.14", optional = true, default-features = false, features = ["client", "http1", "http2"] }
Expand Down
2 changes: 1 addition & 1 deletion tools/rpc-probe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description = """
all-features = true

[dependencies]
async-tungstenite = { version = "0.17", features = [ "tokio-runtime", "tokio-rustls-native-certs" ] }
async-tungstenite = { version = "0.23", features = [ "tokio-runtime", "tokio-rustls-native-certs" ] }
futures = "0.3"
getrandom = "0.2"
log = "0.4"
Expand Down

0 comments on commit c6d4023

Please sign in to comment.