This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate russh-keys

Dependencies

(32 total, 8 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 aes^0.80.8.4up to date
 async-trait^0.1.720.1.88up to date
 bcrypt-pbkdf^0.100.10.0up to date
 bit-vec^0.60.8.0out of date
 block-padding^0.30.3.3up to date
 byteorder^1.41.5.0up to date
 cbc^0.10.1.2up to date
 ctr^0.90.9.2up to date
 data-encoding^2.32.9.0up to date
 dirs^5.06.0.0out of date
 ed25519-dalek^2.02.2.0up to date
 futures^0.30.3.31up to date
 hmac^0.120.12.1up to date
 inout^0.10.1.4up to date
 log^0.40.4.27up to date
 md5^0.70.8.0out of date
 num-bigint^0.40.4.6up to date
 num-integer^0.10.1.46up to date
 openssl ⚠️^0.100.10.73maybe insecure
 p256^0.130.13.2up to date
 p521^0.130.13.3up to date
 pbkdf2^0.110.12.2out of date
 rand^0.70.9.1out of date
 rand_core^0.6.40.9.3out of date
 russh-cryptovec^0.7.00.52.0out of date
 serde^1.01.0.219up to date
 sha1^0.100.10.6up to date
 sha2^0.100.10.9up to date
 thiserror^1.02.0.12out of date
 tokio ⚠️^1.17.01.46.1maybe insecure
 tokio-stream^0.10.1.17up to date
 yasna^0.5.00.5.2up to date

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.100.11.8out of date
 tempdir^0.30.3.7up to date

Security Vulnerabilities

tokio: reject_remote_clients Configuration corruption

RUSTSEC-2023-0001

On Windows, configuring a named pipe server with pipe_mode will force ServerOptions::reject_remote_clients as false.

This drops any intended explicit configuration for the reject_remote_clients that may have been set as true previously.

The default setting of reject_remote_clients is normally true meaning the default is also overridden as false.

Workarounds

Ensure that pipe_mode is set first after initializing a ServerOptions. For example:

let mut opts = ServerOptions::new();
opts.pipe_mode(PipeMode::Message);
opts.reject_remote_clients(true);

openssl: Use-After-Free in `Md::fetch` and `Cipher::fetch`

RUSTSEC-2025-0022

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.