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

Crate msecret

Dependencies

(32 total, 15 outdated, 1 insecure)

CrateRequiredLatestStatus
 anyhow^11.0.104up to date
 base64^0.210.23.1out of date
 bs58^0.50.5.1up to date
 clap^4.34.6.7up to date
 crc^33.4.0up to date
 digest^0.100.11.3out of date
 ed25519-dalek^2.0.0-rc.33.0.0out of date
 elliptic-curve^0.130.14.1out of date
 gf256^0.30.3.1up to date
 hex^0.40.4.3up to date
 hex-literal^0.41.1.0out of date
 hkdf^0.120.13.0out of date
 hmac^0.120.13.0out of date
 k256^0.130.14.0out of date
 mnemonic^11.1.1up to date
 num-bigint-dig>=0.8.40.9.1up to date
 num-integer^0.10.1.47up to date
 num-traits^0.20.2.19up to date
 openssl>=0.10.550.10.81up to date
 p256^0.130.14.0out of date
 rand^0.80.10.3out of date
 ripemd^0.10.2.0out of date
 rpassword^77.5.4up to date
 rsa ⚠️^0.90.9.10insecure
 rust-argon2^13.0.0out of date
 rustyline^1218.0.1out of date
 sha2^0.100.11.0out of date
 shellwords^1.0.01.1.0up to date
 signature>=2.03.0.0up to date
 typenum^11.20.1up to date
 x25519-dalek^2.0.0-rc.33.0.0out of date
 zeroize^1.61.9.0up 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.