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 parrot

Dependencies

(11 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 dotenv^0.15.00.15.0up to date
 lazy_static^1.4.01.5.0up to date
 rand^0.8.50.8.5up to date
 regex^1.5.51.11.1up to date
 rspotify^0.12.00.13.3out of date
 serde_json^1.0.791.0.133up to date
 url^2.3.12.5.4up to date
 serde^1.0.1521.0.216up to date
 songbird^0.3.20.4.6out of date
 serenity^0.11.50.12.4out of date
 tokio ⚠️^1.17.01.42.0maybe insecure

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