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

Crate ssi-jwk

Dependencies

(34 total, 15 outdated, 1 insecure, 1 possibly insecure)

CrateRequiredLatestStatus
 base64^0.220.22.1up to date
 blake2^0.90.10.6out of date
 blake2b_simd^0.51.0.3out of date
 bs58^0.40.5.1out of date
 ed25519-dalek^2.02.1.1up to date
 getrandom^0.20.3.3out of date
 json-syntax^0.12.50.12.5up to date
 k256^0.13.10.13.4up to date
 lazy_static^1.41.5.0up to date
 linked-data^0.1.20.1.2up to date
 multibase^0.9.10.9.1up to date
 num-bigint^0.40.4.6up to date
 num-derive^0.30.4.2out of date
 num-traits^0.20.2.19up to date
 p256^0.13.20.13.2up to date
 p384^0.13.00.13.1up to date
 rand^0.80.9.1out of date
 ring ⚠️^0.160.17.14out of date
 rsa ⚠️^0.60.9.8insecure
 serde^1.01.0.219up to date
 serde_jcs^0.1.00.1.0up to date
 serde_json^1.01.0.140up to date
 simple_asn1^0.5.20.6.3out of date
 snarkvm-algorithms^0.7.93.8.0out of date
 snarkvm-curves^0.7.93.8.0out of date
 snarkvm-dpc^0.7.90.8.0out of date
 snarkvm-parameters^0.7.93.8.0out of date
 snarkvm-utilities^0.7.93.8.0out of date
 ssi-bbs^0.1.10.1.1up to date
 ssi-claims-core^0.1.30.1.3up to date
 ssi-crypto^0.2.10.2.1up to date
 ssi-multicodec^0.20.2.0up to date
 thiserror^1.02.0.12out of date
 zeroize^1.51.8.1up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 hex^0.4.30.4.3up 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.

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.