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

Crate ssh-key

Dependencies

(18 total, 1 insecure)

CrateRequiredLatestStatus
 bcrypt-pbkdf^0.100.10.0up to date
 num-bigint-dig^0.80.8.4up to date
 ssh-cipher^0.20.2.0up to date
 dsa^0.60.6.3up to date
 ed25519-dalek^22.1.1up to date
 ssh-encoding^0.20.2.0up to date
 p256^0.130.13.2up to date
 p384^0.130.13.0up to date
 p521^0.13.30.13.3up to date
 rand_core^0.6.40.6.4up to date
 rsa ⚠️^0.90.9.6insecure
 sec1^0.7.30.7.3up to date
 serde^11.0.214up to date
 sha1^0.100.10.6up to date
 sha2^0.10.80.10.8up to date
 signature^22.2.0up to date
 subtle^22.6.1up to date
 zeroize^11.8.1up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 hex-literal^0.4.10.4.1up to date
 rand_chacha^0.30.3.1up 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, however work is underway to migrate to a fully constant-time implementation.

Workarounds

The only currently available workaround is to avoid using the rsa crate in settings where attackers are able to observe timing information, e.g. 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.