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

(25 total, 14 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 assert_matches^1.3.01.5.0up to date
 bincode^1.2.11.3.3up to date
 bs58^0.3.00.5.1out of date
 byteorder^1.3.21.5.0up to date
 ed25519-dalek ⚠️=1.0.0-pre.12.1.1out of date
 generic-array ⚠️^0.13.21.0.0out of date
 hex^0.4.00.4.3up to date
 hmac^0.7.00.12.1out of date
 itertools^0.8.20.12.1out of date
 log^0.4.80.4.21up to date
 memmap^0.6.20.7.0out of date
 num-derive^0.30.4.2out of date
 num-traits^0.20.2.18up to date
 pbkdf2^0.3.00.12.2out of date
 rand^0.6.50.8.5out of date
 rand_chacha^0.1.10.3.1out of date
 serde^1.0.1041.0.200up to date
 serde_bytes^0.110.11.14up to date
 serde_derive^1.0.1031.0.200up to date
 serde_json^1.0.441.0.116up to date
 sha2^0.8.00.10.8out of date
 solana-crate-features^0.22.81.8.16out of date
 solana-logger^0.22.81.18.12out of date
 solana-sdk-macro^0.22.81.18.12out of date
 thiserror^1.01.0.59up to date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 tiny-bip39^0.6.21.0.0out of date

Security Vulnerabilities

generic-array: arr! macro erases lifetimes

RUSTSEC-2020-0146

Affected versions of this crate allowed unsoundly extending lifetimes using arr! macro. This may result in a variety of memory corruption scenarios, most likely use-after-free.

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.