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-cli

Dependencies

(8 total, 1 outdated)

CrateRequiredLatestStatus
 anyhow^11.0.102up to date
 log^0.40.4.29up to date
 rpassword^77.4.0up to date
 serde^1.01.0.228up to date
 structopt^0.30.3.26up to date
 tempfile^3.23.27.0up to date
 toml^0.71.1.1+spec-1.1.0out of date
 zeroize^11.8.2up to date

Dev dependencies

(5 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 futures^0.30.3.32up to date
 lazy_static^1.41.5.0up to date
 pretty_assertions^11.4.1up to date
 reqwest^0.110.13.2out of date
 tokio ⚠️^11.50.0maybe insecure

Crate exonum

Dependencies

(12 total, 2 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.102up to date
 log^0.40.4.29up to date
 hex^0.40.4.3up to date
 serde^11.0.228up to date
 serde_str^0.10.1.0up to date
 env_logger^0.100.11.10out of date
 futures^0.30.3.32up to date
 os_info^33.14.0up to date
 protobuf ⚠️^33.7.2maybe insecure
 semver^11.0.27up to date
 thiserror^12.0.18out of date
 time ⚠️^0.30.3.47maybe insecure

Dev dependencies

(7 total, 4 outdated)

CrateRequiredLatestStatus
 assert_matches^1.31.5.0up to date
 bincode^1.33.0.0out of date
 bit-vec^0.60.9.1out of date
 criterion^0.40.8.2out of date
 pretty_assertions^11.4.1up to date
 rand^0.80.10.0out of date
 serde_json^1.01.0.149up to date

Crate exonum-node

Dependencies

(20 total, 5 outdated, 5 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.102up to date
 async-trait^0.10.1.89up to date
 bit-vec^0.60.9.1out of date
 byteorder^1.41.5.0up to date
 bytes ⚠️^11.11.1maybe insecure
 futures^0.30.3.32up to date
 futures-retry^0.60.6.0up to date
 log^0.4.60.4.29up to date
 protobuf ⚠️^33.7.2maybe insecure
 rand^0.80.10.0out of date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 snow ⚠️^0.90.10.0out of date
 socket2^0.40.6.3out of date
 thiserror^1.02.0.18out of date
 time ⚠️^0.30.3.47maybe insecure
 tokio-stream^0.10.1.18up to date
 tokio-util^0.70.7.18up to date
 exonum_sodiumoxide^0.0.240.0.24up to date
 tokio ⚠️^11.50.0maybe insecure

Dev dependencies

(6 total, 3 outdated)

CrateRequiredLatestStatus
 bincode^1.33.0.0out of date
 criterion^0.40.8.2out of date
 hex^0.40.4.3up to date
 pretty_assertions^11.4.1up to date
 serde_json^1.01.0.149up to date
 toml^0.7.21.1.1+spec-1.1.0out of date

Crate exonum-cryptocurrency

Dependencies

(4 total, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.102up to date
 protobuf ⚠️^33.7.2maybe insecure
 serde^11.0.228up to date
 serde_json^11.0.149up to date

Dev dependencies

(3 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 pretty_assertions^11.4.1up to date
 rand^0.80.10.0out of date
 tokio ⚠️^11.50.0maybe insecure

Crate exonum-cryptocurrency-advanced

Dependencies

(4 total, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.102up to date
 protobuf ⚠️^33.7.2maybe insecure
 serde^11.0.228up to date
 tokio ⚠️^11.50.0maybe insecure

Dev dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 bincode^1.33.0.0out of date
 hex^0.40.4.3up to date
 rand^0.80.10.0out of date
 serde_json^1.01.0.149up to date

Crate exonum-sample-runtime

Dependencies

(2 total, 1 possibly insecure)

CrateRequiredLatestStatus
 futures^0.30.3.32up to date
 tokio ⚠️^11.50.0maybe insecure

Crate exonum-timestamping

Dependencies

(7 total, 3 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.102up to date
 log^0.40.4.29up to date
 protobuf ⚠️^33.7.2maybe insecure
 serde^11.0.228up to date
 serde_json^11.0.149up to date
 time ⚠️^0.30.3.47maybe insecure
 tokio ⚠️^11.50.0maybe insecure

Crate exonum-explorer-service

Dependencies

(12 total, 1 outdated)

CrateRequiredLatestStatus
 actix^0.130.13.5up to date
 actix_derive^0.60.6.2up to date
 actix-web^4.14.13.0up to date
 actix-web-actors^4.14.3.1+deprecatedup to date
 anyhow^1.01.0.102up to date
 futures^0.3.40.3.32up to date
 hex^0.4.00.4.3up to date
 log^0.4.60.4.29up to date
 rand^0.80.10.0out of date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 serde_json^1.01.0.149up to date

Dev dependencies

(4 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 assert_matches^1.3.01.5.0up to date
 tokio-tungstenite^0.180.29.0out of date
 reqwest^0.110.13.2out of date
 tokio ⚠️^11.50.0maybe insecure

Crate exonum-middleware-service

Dependencies

(5 total, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.102up to date
 protobuf ⚠️^33.7.2maybe insecure
 semver^1.01.0.27up to date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.01.0.149up to date

Crate exonum-time

Dependencies

(7 total, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.102up to date
 futures^0.3.40.3.32up to date
 protobuf ⚠️^33.7.2maybe insecure
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 time ⚠️^0.30.3.47maybe insecure

Dev dependencies

(3 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 bincode^1.33.0.0out of date
 pretty_assertions^11.4.1up to date
 tokio ⚠️^11.50.0maybe insecure

Crate exonum-supervisor

Dependencies

(10 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.102up to date
 base64^0.13.00.22.1out of date
 byteorder^1.31.5.0up to date
 futures^0.30.3.32up to date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 serde_str^0.1.00.1.0up to date
 protobuf ⚠️^33.7.2maybe insecure
 log^0.4.60.4.29up to date

Dev dependencies

(1 total, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^11.50.0maybe insecure

Crate exonum-testkit

Dependencies

(12 total, 1 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 actix^0.130.13.5up to date
 actix-test^0.10.1.5up to date
 actix-web^44.13.0up to date
 futures^0.30.3.32up to date
 log^0.40.4.29up to date
 protobuf ⚠️^33.7.2maybe insecure
 reqwest^0.110.13.2out of date
 serde^11.0.228up to date
 serde_json^11.0.149up to date
 serde_urlencoded^0.70.7.1up to date
 time ⚠️^0.30.3.47maybe insecure
 tokio ⚠️^11.50.0maybe insecure

Dev dependencies

(6 total, 2 outdated)

CrateRequiredLatestStatus
 assert_matches^11.5.0up to date
 bincode^13.0.0out of date
 hex^0.40.4.3up to date
 lazy_static^11.5.0up to date
 pretty_assertions^11.4.1up to date
 rand^0.80.10.0out of date

Crate exonum-testkit-server

Dependencies

(1 total, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^11.50.0maybe insecure

Crate exonum-rust-runtime-proto-tests

Dependencies

(7 total, 1 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.102up to date
 bit-vec^0.60.9.1out of date
 protobuf ⚠️^33.7.2maybe insecure
 pretty_assertions^11.4.1up to date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 time ⚠️^0.30.3.47maybe insecure

Dev dependencies

(2 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 reqwest^0.110.13.2out of date
 tokio ⚠️^11.50.0maybe insecure

Crate exonum-soak-tests

Dependencies

(8 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.102up to date
 bincode^13.0.0out of date
 futures^0.30.3.32up to date
 log^0.40.4.29up to date
 reqwest^0.110.13.2out of date
 serde^11.0.228up to date
 structopt^0.30.3.26up to date
 tokio ⚠️^11.50.0maybe insecure

Crate exonum-rust-runtime

Dependencies

(7 total, 2 possibly insecure)

CrateRequiredLatestStatus
 actix-web^4.14.13.0up to date
 futures^0.30.3.32up to date
 log^0.40.4.29up to date
 protobuf ⚠️^33.7.2maybe insecure
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 tokio ⚠️^11.50.0maybe insecure

Dev dependencies

(8 total, 3 outdated)

CrateRequiredLatestStatus
 anyhow^1.01.0.102up to date
 assert_matches^1.31.5.0up to date
 bincode^1.33.0.0out of date
 criterion^0.40.8.2out of date
 pretty_assertions^11.4.1up to date
 rand^0.80.10.0out of date
 serde_json^1.01.0.149up to date
 tempfile^3.23.27.0up to date

Crate exonum-api

Dependencies

(12 total, 2 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 actix-cors^0.60.7.1out of date
 actix-server^2.12.6.0up to date
 actix-web^4.14.13.0up to date
 anyhow^1.01.0.102up to date
 futures^0.30.3.32up to date
 log^0.40.4.29up to date
 serde^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 serde_urlencoded^0.70.7.1up to date
 thiserror^1.02.0.18out of date
 time ⚠️^0.30.3.47maybe insecure
 tokio ⚠️^11.50.0maybe insecure

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 pretty_assertions^11.4.1up to date
 toml^0.71.1.1+spec-1.1.0out of date

Crate exonum-build

Dependencies

(4 total, all up-to-date)

CrateRequiredLatestStatus
 protobuf-codegen^33.7.2up to date
 walkdir^22.5.0up to date
 quote^11.0.45up to date
 proc-macro2^11.0.106up to date

Crate exonum-crypto

Dependencies

(5 total, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.261.0.102up to date
 hex^0.4.20.4.3up to date
 serde^11.0.228up to date
 exonum_sodiumoxide^0.0.240.0.24up to date
 protobuf ⚠️^33.7.2maybe insecure

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 serde_json^1.01.0.149up to date
 tempfile^3.23.27.0up to date

Crate exonum-derive

Dependencies

(5 total, 2 outdated)

CrateRequiredLatestStatus
 darling^0.140.23.0out of date
 proc-macro2^1.01.0.106up to date
 quote^1.01.0.45up to date
 syn^1.02.0.117out of date
 semver^1.01.0.27up to date

Crate exonum-explorer

Dependencies

(4 total, 1 possibly insecure)

CrateRequiredLatestStatus
 hex^0.4.20.4.3up to date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 time ⚠️^0.30.3.47maybe insecure

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 bincode^1.33.0.0out of date
 serde_json^1.01.0.149up to date

Crate exonum-keys

Dependencies

(8 total, 4 outdated)

CrateRequiredLatestStatus
 anyhow^1.01.0.102up to date
 rand^0.80.10.0out of date
 pwbox^0.50.5.0up to date
 secrecy^0.80.10.3out of date
 secret-tree^0.50.6.0out of date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 toml^0.71.1.1+spec-1.1.0out of date

Dev dependencies

(4 total, all up-to-date)

CrateRequiredLatestStatus
 hex^0.4.20.4.3up to date
 serde_json^1.01.0.149up to date
 structopt^0.30.3.26up to date
 tempfile^3.23.27.0up to date

Crate exonum-merkledb

Dependencies

(16 total, 3 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.102up to date
 byteorder^1.31.5.0up to date
 enum-primitive-derive^0.20.3.0out of date
 im^1515.1.0up to date
 leb128^0.20.2.5up to date
 num-traits^0.20.2.19up to date
 protobuf ⚠️^33.7.2maybe insecure
 rocksdb^0.200.24.0out of date
 rust_decimal^1.01.41.0up to date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date
 smallvec ⚠️^1.61.15.1maybe insecure
 tempfile^3.23.27.0up to date
 thiserror^1.02.0.18out of date
 time ⚠️^0.30.3.47maybe insecure
 uuid^11.23.0up to date

Dev dependencies

(11 total, 4 outdated)

CrateRequiredLatestStatus
 assert_matches^1.31.5.0up to date
 bincode^1.33.0.0out of date
 criterion^0.40.8.2out of date
 hex^0.4.00.4.3up to date
 modifier^0.10.1.0up to date
 proptest^1.01.11.0up to date
 pretty_assertions^11.4.1up to date
 rand^0.80.10.0out of date
 rand_xorshift^0.3.00.5.0out of date
 serde_json^1.01.0.149up to date
 url^2.02.5.8up to date

Crate exonum-proto

Dependencies

(7 total, 2 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^11.0.102up to date
 base64^0.130.22.1out of date
 bit-vec^0.60.9.1out of date
 protobuf ⚠️^33.7.2maybe insecure
 protobuf-convert^0.50.5.0up to date
 serde^11.0.228up to date
 time ⚠️^0.30.3.47maybe insecure

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 rand^0.80.10.0out of date
 serde_json^11.0.149up to date

Crate exonum-system-api

Dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 actix-web^4.14.13.0up to date
 futures^0.30.3.32up to date
 semver^1.01.0.27up to date
 serde^1.01.0.228up to date
 serde_derive^1.01.0.228up to date

Dev dependencies

(3 total, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.102up to date
 pretty_assertions^11.4.1up to date
 tokio ⚠️^11.50.0maybe insecure

Security Vulnerabilities

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.

tokio: reject_remote_clients Configuration corruption

RUSTSEC-2023-0001

On Windows, configuring a named pipe server with pipe_mode will force ServerOptions::reject_remote_clients as false.

This drops any intended explicit configuration for the reject_remote_clients that may have been set as true previously.

The default setting of reject_remote_clients is normally true meaning the default is also overridden as false.

Workarounds

Ensure that pipe_mode is set first after initializing a ServerOptions. For example:

let mut opts = ServerOptions::new();
opts.pipe_mode(PipeMode::Message);
opts.reject_remote_clients(true);

snow: Unauthenticated Nonce Increment in snow

RUSTSEC-2024-0011

There was a logic bug where unauthenticated payloads could still cause a nonce increment in snow's internal state. For an attacker with privileges to inject packets into the channel over which the Noise session operates, this could allow a denial-of-service attack which could prevent message delivery by sending garbage data.

Note that this only affects those who are using the stateful TransportState, not those using StatelessTransportState.

This has been patched in version 0.9.5, and all users are recommended to update.

protobuf: Crash due to uncontrolled recursion in protobuf crate

RUSTSEC-2024-0437

Affected version of this crate did not properly parse unknown fields when parsing a user-supplied input.

This allows an attacker to cause a stack overflow when parsing the mssage on untrusted data.

bytes: Integer overflow in `BytesMut::reserve`

RUSTSEC-2026-0007

In the unique reclaim path of BytesMut::reserve, the condition

if v_capacity >= new_cap + offset

uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB.

This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.

PoC

use bytes::*;

fn main() {
    let mut a = BytesMut::from(&b"hello world"[..]);
    let mut b = a.split_off(5);

    // Ensure b becomes the unique owner of the backing storage
    drop(a);

    // Trigger overflow in new_cap + offset inside reserve
    b.reserve(usize::MAX - 6);

    // This call relies on the corrupted cap and may cause UB & HBO
    b.put_u8(b'h');
}

Workarounds

Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.