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 songbird

Dependencies

(27 total, 11 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-trait^0.10.1.83up to date
 async-tungstenite^0.170.28.2out of date
 audiopus^0.3.0-rc.00.2.0up to date
 byteorder^11.5.0up to date
 dashmap^56.1.0out of date
 derivative^22.2.0up to date
 discortp^0.40.6.0out of date
 flume^0.100.11.1out of date
 futures^0.30.3.31up to date
 parking_lot^0.120.12.3up to date
 pin-project^11.1.7up to date
 rand^0.80.8.5up to date
 serde^11.0.216up to date
 serde_json^11.0.134up to date
 serenity^0.110.12.4out of date
 serenity-voice-model^0.10.2.0out of date
 streamcatcher^11.0.1up to date
 symphonia-core^0.50.5.4up to date
 tokio ⚠️^1.01.42.0maybe insecure
 tracing^0.10.1.41up to date
 tracing-futures^0.20.2.5up to date
 twilight-gateway^0.12.00.15.4out of date
 twilight-model^0.12.00.15.4out of date
 typemap_rev^0.10.3.0out of date
 url^22.5.4up to date
 uuid^0.81.11.0out of date
 xsalsa20poly1305^0.80.9.1out of date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 criterion^0.30.5.1out of 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);