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 sp-blockchain

Dependencies

(10 total, 8 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 parity-scale-codec^1.3.13.6.12out of date
 derive_more^0.99.20.99.17up to date
 log^0.4.80.4.21up to date
 lru ⚠️^0.4.00.12.3out of date
 parking_lot^0.10.00.12.2out of date
 sp-block-builder^2.0.031.0.0out of date
 sp-consensus^0.8.00.37.0out of date
 sp-database^2.0.010.0.0out of date
 sp-runtime^2.0.036.0.0out of date
 sp-state-machine^0.8.00.40.0out of date

Security Vulnerabilities

lru: Use after free in lru crate

RUSTSEC-2021-0130

Lru crate has use after free vulnerability.

Lru crate has two functions for getting an iterator. Both iterators give references to key and value. Calling specific functions, like pop(), will remove and free the value, and but it's still possible to access the reference of value which is already dropped causing use after free.