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 zbus

Dependencies

(34 total, 14 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-broadcast^0.4.00.7.1out of date
 async-channel^1.6.12.3.1out of date
 async-executor^1.4.11.13.1up to date
 async-io^1.3.12.4.0out of date
 async-lock^2.3.03.4.0out of date
 async-recursion^0.3.21.1.1out of date
 async-task^4.0.34.7.1up to date
 async-trait^0.1.300.1.83up to date
 byteorder^1.3.11.5.0up to date
 derivative^2.12.2.0up to date
 dirs^4.0.05.0.1out of date
 enumflags2^0.7.10.7.10up to date
 event-listener^2.5.15.3.1out of date
 futures-core^0.3.140.3.31up to date
 futures-sink^0.3.140.3.31up to date
 futures-util^0.3.80.3.31up to date
 hex^0.4.20.4.3up to date
 lazy_static^1.4.01.5.0up to date
 nix^0.23.00.29.0out of date
 once_cell^1.4.01.20.2up to date
 ordered-stream^0.0.10.2.0out of date
 rand^0.8.20.8.5up to date
 serde^1.01.0.215up to date
 serde-xml-rs^0.4.00.6.0out of date
 serde_repr^0.1.50.1.19up to date
 sha1^0.6.00.10.6out of date
 static_assertions^1.1.01.1.0up to date
 tokio ⚠️^1.10.01.41.1maybe insecure
 tracing^0.1.340.1.40up to date
 uds_windows^1.0.11.1.0up to date
 winapi^0.30.3.9up to date
 zbus_macros=2.3.25.1.1out of date
 zbus_names^24.1.0out of date
 zvariant^3.3.15.1.0out of date

Dev dependencies

(8 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-std^1.10.01.13.0up to date
 doc-comment^0.3.30.3.3up to date
 futures-util^0.3.80.3.31up to date
 ntest^0.7.10.9.3out of date
 tempfile^3.3.03.14.0up to date
 test-log^0.2.100.2.16up to date
 tokio ⚠️^11.41.1maybe insecure
 tracing-subscriber^0.3.110.3.18up to date

Security Vulnerabilities

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