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

Crate unc-crypto

Dependencies

(21 total, 12 outdated, 1 insecure)

CrateRequiredLatestStatus
 blake2^0.9.10.11.0out of date
 borsh^1.0.01.8.1up to date
 bs58^0.40.5.1out of date
 c2-chacha^0.30.3.3up to date
 curve25519-dalek^4.1.15.0.0out of date
 derive_more^0.99.92.1.1out of date
 ed25519-dalek^2.1.03.0.0out of date
 hex^0.4.20.4.3up to date
 once_cell^1.13.11.21.4up to date
 primitive-types^0.100.14.0out of date
 rand^0.70.10.3out of date
 rsa ⚠️^0.9.60.9.10insecure
 rsa-export^0.3.30.3.3up to date
 secp256k1^0.27.00.33.1out of date
 serde^1.0.1361.0.229up to date
 serde_json^1.0.681.0.151up to date
 unc-stdx^0.5.10.12.2out of date
 subtle^2.22.6.1up to date
 thiserror^1.0.302.0.21out of date
 unc-account-id^0.1.00.7.2out of date
 unc-config-utils^0.5.10.12.2out of date

Dev dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 bolero^0.10.00.13.4out of date
 hex-literal^0.21.1.0out of date
 sha2^0.100.11.0out of date
 tempfile^3.33.27.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.