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 alloy-primitives

Dependencies

(26 total, 5 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 allocative^0.3.20.3.4up to date
 alloy-rlp^0.30.3.12up to date
 arbitrary^1.31.4.2up to date
 bytes^11.11.0up to date
 cfg-if^1.0.01.0.4up to date
 derive_arbitrary^1.31.4.2up to date
 derive_more^2.02.1.1up to date
 foldhash^0.1.40.2.0out of date
 getrandom^0.20.3.4out of date
 hashbrown ⚠️^0.150.16.1out of date
 const-hex^1.141.17.0up to date
 indexmap^2.52.13.0up to date
 itoa^11.0.17up to date
 k256^0.130.13.4up to date
 keccak-asm^0.1.00.1.4up to date
 paste^1.01.0.15up to date
 postgres-types^0.2.60.2.12up to date
 proptest^11.9.0up to date
 proptest-derive^0.50.7.0out of date
 rand^0.80.9.2out of date
 rayon^1.21.11.0up to date
 ruint ⚠️^1.12.31.17.2maybe insecure
 rustc-hash^2.12.1.1up to date
 serde^1.01.0.228up to date
 sha3^0.10.80.10.8up to date
 tiny-keccak^2.02.0.2up to date

Dev dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 bcs^0.1.60.1.6up to date
 bincode^1.33.0.0out of date
 criterion^0.50.8.1out of date
 serde_json^1.01.0.149up to date

Security Vulnerabilities

hashbrown: Borsh serialization of HashMap is non-canonical

RUSTSEC-2024-0402

The borsh serialization of the HashMap did not follow the borsh specification. It potentially produced non-canonical encodings dependent on insertion order. It also did not perform canonicty checks on decoding.

This can result in consensus splits and cause equivalent objects to be considered distinct.

This was patched in 0.15.1.

ruint: Unsoundness of safe `reciprocal_mg10`

RUSTSEC-2025-0137

The function reciprocal_mg10 is marked as safe but can trigger undefined behavior (out-of-bounds access) because it relies on debug_assert! for safety checks instead of assert!.

When compiled in release mode, the debug_assert! is optimized out, potentially allowing invalid inputs to cause memory corruption.