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 rspotify

Dependencies

(18 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-stream^0.3.20.3.5up to date
 async-trait^0.1.510.1.80up to date
 base64^0.21.20.22.1out of date
 chrono ⚠️^0.4.190.4.38maybe insecure
 dotenv^0.15.00.15.0up to date
 futures^0.3.170.3.30up to date
 getrandom^0.2.30.2.15up to date
 log^0.4.140.4.21up to date
 maybe-async^0.2.60.2.10up to date
 rspotify-http^0.12.00.13.1out of date
 rspotify-macros^0.12.00.13.1out of date
 rspotify-model^0.12.00.13.1out of date
 serde^1.0.1301.0.202up to date
 serde_json^1.0.671.0.117up to date
 sha2^0.10.00.10.8up to date
 thiserror^1.0.291.0.61up to date
 url^2.2.22.5.0up to date
 webbrowser^0.8.01.0.1out of date

Dev dependencies

(3 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 env_logger^0.10.00.11.3out of date
 futures-util^0.3.170.3.30up to date
 tokio ⚠️^1.11.01.37.0maybe insecure

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