This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate ssh-cipher

Dependencies

(10 total, all up-to-date)

CrateRequiredLatestStatus
 cipher^0.50.5.2up to date
 aead^0.60.6.1up to date
 aes^0.90.9.3up to date
 aes-gcm^0.110.11.1up to date
 ctutils^0.40.4.2up to date
 chacha20^0.100.10.2up to date
 des^0.90.9.0up to date
 ssh-encoding^0.30.3.0up to date
 poly1305^0.90.9.1up to date
 zeroize^11.9.0up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 hex-literal^11.1.0up to date

Crate ssh-derive

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 proc-macro2^11.0.107up to date
 quote^11.0.47up to date
 syn^33.0.6up to date

Crate ssh-encoding

Dependencies

(8 total, all up-to-date)

CrateRequiredLatestStatus
 base64ct^1.81.8.3up to date
 crypto-bigint^0.70.7.5up to date
 bytes^1.111.12.1up to date
 ctutils^0.40.4.2up to date
 digest^0.110.11.3up to date
 pem-rfc7468^11.0.0up to date
 ssh-derive^0.30.3.0up to date
 zeroize^1.81.9.0up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 hex-literal^11.1.0up to date

Crate ssh-key

Dependencies

(20 total, 1 insecure)

CrateRequiredLatestStatus
 ssh-cipher^0.30.3.0up to date
 ctutils^0.40.4.2up to date
 ssh-encoding^0.30.3.0up to date
 sha2^0.110.11.0up to date
 signature^33.0.0up to date
 zeroize^1.91.9.0up to date
 argon2^0.60.6.0up to date
 bcrypt-pbkdf^0.110.11.0up to date
 dsa^0.70.7.0up to date
 ed25519-dalek^33.0.0up to date
 hex^0.40.4.3up to date
 hmac^0.130.13.0up to date
 p256^0.140.14.0up to date
 p384^0.140.14.0up to date
 p521^0.140.14.0up to date
 rand_core^0.100.10.1up to date
 rsa ⚠️^0.10.0-rc.180.9.10insecure
 sec1^0.80.8.1up to date
 serde^1.0.161.0.229up to date
 sha1^0.110.11.0up to date

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 hex-literal^11.1.0up to date
 chacha20^0.100.10.2up to date
 getrandom^0.40.4.3up to date

Crate ssh-protocol

Dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 ssh-cipher^0.3.0-rc.100.3.0up to date
 ssh-encoding^0.30.3.0up to date
 ssh-key^0.7.0-rc.80.6.7up to date

Security Vulnerabilities

rsa: Marvin Attack: potential key recovery through timing sidechannels

RUSTSEC-2023-0071

Impact

Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key.

Patches

No patch is yet available. The crypto-bigint migration (RustCrypto/RSA#394) did not close this. Tracking is RustCrypto/RSA#626 (padding still not constant-time). Implicit rejection work is in RustCrypto/RSA#680; default-path blinding is in RustCrypto/RSA#702.

Still affected as of 2026-09-12: rsa 0.9.10 (latest stable) and rsa 0.10.0-rc.18 (latest). patched = [] is intentional.

Workarounds

Avoid using the rsa crate in settings where attackers can observe timing, for example over the network. Local use on a non-compromised computer is fine.

References

This vulnerability was discovered as part of the "Marvin Attack", which revealed several implementations of RSA including OpenSSL had not properly mitigated timing sidechannel attacks.