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 exonum-merkledb

Dependencies

(19 total, 6 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.261.0.82up to date
 byteorder^1.31.5.0up to date
 chrono ⚠️^0.4.60.4.38maybe insecure
 crossbeam^0.7.30.8.4out of date
 ctor^0.1.130.2.8out of date
 enum-primitive-derive^0.10.3.0out of date
 exonum-crypto^1.0.01.0.0up to date
 exonum-proto^1.0.01.0.0up to date
 leb128^0.20.2.5up to date
 num-traits^0.20.2.18up to date
 protobuf^2.8.13.4.0out of date
 rocksdb ⚠️^0.130.22.0out of date
 rust_decimal^1.01.35.0up to date
 serde^1.01.0.199up to date
 serde_derive^1.01.0.199up to date
 smallvec ⚠️^1.01.13.2maybe insecure
 tempfile^3.03.10.1up to date
 thiserror^1.01.0.59up to date
 uuid^0.81.8.0out of date

Dev dependencies

(12 total, 5 outdated)

CrateRequiredLatestStatus
 assert_matches^1.3.01.5.0up to date
 bincode^1.11.3.3up to date
 criterion^0.30.5.1out of date
 exonum-derive^1.0.01.0.0up to date
 hex^0.4.00.4.3up to date
 modifier^0.10.1.0up to date
 pretty_assertions^0.61.4.0out of date
 proptest^0.91.4.0out of date
 rand^0.70.8.5out of date
 rand_xorshift^0.2.00.3.0out of date
 serde_json^1.01.0.116up to date
 url^2.0.02.5.0up to date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

smallvec: Buffer overflow in SmallVec::insert_many

RUSTSEC-2021-0003

A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.

This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.

The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.

Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.

rocksdb: Out-of-bounds read when opening multiple column families with TTL

RUSTSEC-2022-0046

Affected versions of this crate called the RocksDB C API rocksdb_open_column_families_with_ttl() with a pointer to a single integer TTL value, but one TTL value for each column family is expected.

This is only relevant when using rocksdb::DBWithThreadMode::open_cf_descriptors_with_ttl() with multiple column families.

This bug has been fixed in v0.19.0.