Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,4 @@
# https://docs.rs/cargo-audit/latest/cargo_audit/

[advisories]
ignore = [
# RUSTSEC-2023-0071: Marvin Attack — potential RSA key recovery via timing sidechannel.
#
# No fixed upgrade is available for any version of the `rsa` crate. The vulnerability
# is inherent to the current RustCrypto RSA implementation, which lacks constant-time
# primitives. Both `rsa 0.9.x` (via ssh-key 0.6.x) and `rsa 0.10.0-rc.x` (via
# russh's ssh-key) are affected.
#
# Mitigation: users should prefer Ed25519 or ECDSA host/user keys over RSA where
# possible. The Marvin Attack requires precise timing measurements over many
# observed decryptions; SSH session establishment is a high-noise channel that
# makes practical exploitation against bssh extremely difficult.
#
# Tracking: https://github.com/RustCrypto/RSA/issues/19
"RUSTSEC-2023-0071",
]
ignore = []
23 changes: 13 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tokio = { version = "1.54.1", features = ["full"] }
# empty, so it never negotiates one; the handler in
# src/ssh/tokio_client/connection.rs refuses certificates because bssh
# verifies no CA signatures.
russh = "0.65.1"
russh = "0.65.2"
# Upstream russh-sftp. bssh's pipelined client transfers live in
# src/ssh/tokio_client/sftp_client.rs and its read-ahead / write-coalescing
# server loop in src/server/sftp_loop.rs, both on russh-sftp's public API.
Expand Down Expand Up @@ -93,9 +93,9 @@ ipnetwork = "0.21"
bcrypt = "0.19"
argon2 = "0.6"
rand = "0.10"
# Pinned to match russh's ssh-key (0.65.x uses =0.7.0-rc.11) so the workspace
# Pinned to match russh's ssh-key (0.65.2 uses =0.7.0-rc.12) so the workspace
# resolves a single ssh-key version instead of 0.6 + 0.7-rc side by side.
ssh-key = { version = "=0.7.0-rc.11", features = ["std"] }
ssh-key = { version = "=0.7.0-rc.12", features = ["std"] }
async-compression = { version = "0.4", features = ["tokio", "gzip"] }
serde_json = "1.0"
opentelemetry = "0.33"
Expand Down
Loading