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 config

Dependencies

(12 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-trait^0.1.20.1.83up to date
 indexmap^1.7.02.6.0out of date
 json5^0.40.4.1up to date
 lazy_static^1.41.5.0up to date
 nom^77.1.3up to date
 pathdiff^0.20.2.2up to date
 ron^0.70.8.1out of date
 rust-ini^0.180.21.1out of date
 serde^1.0.991.0.215up to date
 serde_json^1.0.01.0.132up to date
 toml^0.50.8.19out of date
 yaml-rust ⚠️^0.40.4.5maybe insecure

Dev dependencies

(10 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 chrono^0.4.230.4.38up to date
 float-cmp^0.90.10.0out of date
 futures^0.30.3.31up to date
 glob^0.30.3.1up to date
 notify^4.0.07.0.0out of date
 reqwest^0.110.12.9out of date
 serde_derive^1.0.991.0.215up to date
 temp-env^0.2.00.3.6out of date
 tokio ⚠️^1.131.41.1maybe insecure
 warp=0.3.50.3.7out of date

Security Vulnerabilities

yaml-rust: Uncontrolled recursion leads to abort in deserialization

RUSTSEC-2018-0006

Affected versions of this crate did not prevent deep recursion while deserializing data structures.

This allows an attacker to make a YAML file with deeply nested structures that causes an abort while deserializing it.

The flaw was corrected by checking the recursion depth.

Note: clap 2.33 is not affected by this because it uses yaml-rust in a way that doesn't trigger the vulnerability. More specifically:

  1. The input to the YAML parser is always trusted - is included at compile time via include_str!.

  2. The nesting level is never deep enough to trigger the overflow in practice (at most 5).

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