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 solana-sdk

Dependencies

(60 total, 11 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bincode^1.3.31.3.3up to date
 bitflags^2.6.02.6.0up to date
 borsh^1.5.11.5.3up to date
 bs58^0.5.10.5.1up to date
 bytemuck^1.19.01.20.0up to date
 bytemuck_derive^1.8.01.8.0up to date
 byteorder^1.5.01.5.0up to date
 chrono^0.4.380.4.39up to date
 curve25519-dalek^4.1.34.1.3up to date
 digest^0.10.70.10.7up to date
 ed25519-dalek ⚠️=1.0.12.1.1out of date
 ed25519-dalek-bip32^0.2.00.3.0out of date
 generic-array^0.14.71.1.1out of date
 getrandom^0.10.2.15out of date
 hmac^0.12.10.12.1up to date
 itertools^0.12.10.13.0out of date
 js-sys^0.3.720.3.76up to date
 lazy_static^1.5.01.5.0up to date
 libsecp256k1^0.6.00.7.1out of date
 log^0.4.220.4.22up to date
 memmap2^0.5.100.9.5out of date
 num-derive^0.40.4.2up to date
 num-traits^0.20.2.19up to date
 num_enum^0.7.30.7.3up to date
 pbkdf2^0.11.00.12.2out of date
 qualifier_attr^0.2.20.2.2up to date
 rand^0.70.8.5out of date
 serde^1.0.2131.0.216up to date
 serde_bytes^0.11.150.11.15up to date
 serde_derive^1.0.2131.0.216up to date
 serde_json^1.0.1321.0.133up to date
 serde_with^3.11.03.11.0up to date
 sha2^0.10.80.10.8up to date
 sha3^0.10.80.10.8up to date
 siphasher^0.3.111.0.1out of date
 solana-account=2.1.62.1.6up to date
 solana-bn254=2.1.62.1.6up to date
 solana-decode-error=2.1.62.1.6up to date
 solana-derivation-path=2.1.62.1.6up to date
 solana-feature-set=2.1.62.1.6up to date
 solana-frozen-abi=2.1.62.1.6up to date
 solana-frozen-abi-macro=2.1.62.1.6up to date
 solana-inflation=2.1.62.1.6up to date
 solana-instruction=2.1.62.1.6up to date
 solana-native-token=2.1.62.1.6up to date
 solana-packet=2.1.62.1.6up to date
 solana-precompile-error=2.1.62.1.6up to date
 solana-program=2.1.62.1.6up to date
 solana-program-memory=2.1.62.1.6up to date
 solana-pubkey=2.1.62.1.6up to date
 solana-sanitize=2.1.62.1.6up to date
 solana-sdk-macro=2.1.62.1.6up to date
 solana-secp256k1-recover=2.1.62.1.6up to date
 solana-secp256r1-program=2.1.62.1.6up to date
 solana-serde-varint=2.1.62.1.6up to date
 solana-short-vec=2.1.62.1.6up to date
 solana-signature=2.1.62.1.6up to date
 solana-transaction-error=2.1.62.1.6up to date
 thiserror^1.0.652.0.7out of date
 wasm-bindgen^0.20.2.99up to date

Dev dependencies

(8 total, 1 outdated)

CrateRequiredLatestStatus
 anyhow^1.0.911.0.94up to date
 assert_matches^1.5.01.5.0up to date
 curve25519-dalek^4.1.34.1.3up to date
 hex^0.4.30.4.3up to date
 solana-logger=2.1.62.1.6up to date
 solana-program=2.1.62.1.6up to date
 static_assertions^1.1.01.1.0up to date
 tiny-bip39^0.8.22.0.0out of 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.