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 chatgpt

Dependencies

(13 total, 1 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.661.0.71up to date
 serde_json^1.01.0.96up to date
 log^0.4.170.4.18up to date
 csv^1.1.61.2.1up to date
 thiserror^1.0.381.0.40up to date
 walkdir^2.3.22.3.3up to date
 regex^1.7.01.8.3up to date
 reqwest^0.11.130.11.18up to date
 dark-light^1.0.01.0.0up to date
 wry0.*0.28.3up to date
 serde^1.01.0.163up to date
 tokio ⚠️^1.23.01.28.2maybe insecure
 tauri^1.3.01.3.0up to date

Build dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 tauri-build^1.2.11.3.0up 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);