This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate vodozemac

Dependencies

(17 total, 7 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 aes^0.8.10.8.4up to date
 arrayvec^0.7.20.7.6up to date
 base64^0.13.00.22.1out of date
 cbc^0.1.20.1.2up to date
 ed25519-dalek ⚠️^1.0.12.1.1out of date
 hkdf^0.12.30.12.4up to date
 hmac^0.12.10.12.1up to date
 pkcs7^0.3.00.4.1out of date
 prost^0.11.00.13.5out of date
 rand^0.7.30.9.1out of date
 serde^1.0.1361.0.219up to date
 serde_json^1.0.791.0.140up to date
 sha2^0.10.20.10.9up to date
 subtle^2.4.12.6.1up to date
 thiserror^1.0.302.0.12out of date
 x25519-dalek^1.2.02.0.1out of date
 zeroize^1.3.01.8.1up to date

Dev dependencies

(4 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^1.0.571.0.98up to date
 assert_matches^1.5.01.5.0up to date
 olm-rs^2.2.02.2.0up to date
 proptest^1.0.01.6.0up to date

Security Vulnerabilities

ed25519-dalek: Double Public Key Signing Function Oracle Attack on `ed25519-dalek`

RUSTSEC-2022-0093

Versions of ed25519-dalek prior to v2.0 model private and public keys as separate types which can be assembled into a Keypair, and also provide APIs for serializing and deserializing 64-byte private/public keypairs.

Such APIs and serializations are inherently unsafe as the public key is one of the inputs used in the deterministic computation of the S part of the signature, but not in the R value. An adversary could somehow use the signing function as an oracle that allows arbitrary public keys as input can obtain two signatures for the same message sharing the same R and only differ on the S part.

Unfortunately, when this happens, one can easily extract the private key.

Revised public APIs in v2.0 of ed25519-dalek do NOT allow a decoupled private/public keypair as signing input, except as part of specially labeled "hazmat" APIs which are clearly labeled as being dangerous if misused.