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 openraft

Dependencies

(17 total, 3 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 anyerror^0.1.100.1.13up to date
 anyhow^1.0.631.0.104up to date
 byte-unit^5.1.45.2.5up to date
 chrono ⚠️^0.40.4.45maybe insecure
 clap^4.1.114.6.4up to date
 derive_more^1.02.1.1out of date
 futures^0.30.3.33up to date
 maplit^1.0.21.0.2up to date
 openraft-macros^0.9.60.9.24up to date
 rand^0.80.10.2out of date
 serde^1.0.1141.0.229up to date
 serde_json^1.0.571.0.151up to date
 thiserror^1.0.492.0.19out of date
 tokio ⚠️^1.221.53.1maybe insecure
 tracing^0.1.400.1.44up to date
 tracing-futures^0.2.40.2.5up to date
 validit^0.2.20.2.6up to date

Dev dependencies

(4 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^1.0.631.0.104up to date
 async-entry^0.3.10.3.3up to date
 pretty_assertions^1.0.01.4.1up to date
 serde_json^1.0.571.0.151up 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

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);