Skip to content

Commit 0d7f864

Browse files
Copilot0xrinegade
andcommitted
Fix cargo audit security vulnerabilities - update dependencies and force secure versions
Co-authored-by: 0xrinegade <[email protected]>
1 parent f1d5efb commit 0d7f864

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

Cargo.toml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,26 @@ tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
1818
uuid = { version = "1.0", features = ["v4"] }
1919
once_cell = "1.19"
2020
dashmap = "6.1"
21-
solana-client = "~2.2"
22-
solana-sdk = "~2.2"
23-
solana-account-decoder = "~2.2"
24-
solana-transaction-status = "~2.2"
25-
spl-token = "7.0"
21+
solana-client = "~2.3"
22+
solana-sdk = "~2.3"
23+
solana-account-decoder = "~2.3"
24+
solana-transaction-status = "~2.3"
25+
spl-token = "8.0"
2626
base64 = "0.22"
2727
bs58 = "0.5"
2828
bincode = "1.3"
2929
reqwest = { version = "0.11", features = ["json"] }
30-
prometheus = "0.13"
30+
prometheus = "0.14"
3131
axum = { version = "0.7", features = ["ws"] }
3232
tower = "0.5"
3333
clap = { version = "4.0", features = ["derive"] }
34-
solana-pubsub-client = "~2.2"
34+
solana-pubsub-client = "~2.3"
3535
tokio-tungstenite = "0.20"
3636
futures-util = "0.3"
37+
# Security fix: Force newer version of curve25519-dalek to avoid timing vulnerability
38+
curve25519-dalek = "4.1.3"
39+
# Security fix: Replace atty with is-terminal to fix unmaintained dependency
40+
is-terminal = "0.4"
3741

3842
[dev-dependencies]
3943
tokio-test = "0.4"

0 commit comments

Comments
 (0)