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 wasmer-wasix

Dependencies

(70 total, 9 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.661.0.82up to date
 async-trait^0.10.1.80up to date
 base64^0.210.22.1out of date
 bincode^1.31.3.3up to date
 blake3^1.01.5.1up to date
 bytecheck^0.6.80.7.0out of date
 bytes^11.6.0up to date
 cfg-if^1.01.0.0up to date
 chrono^0.4.310.4.38up to date
 cooked-waker^55.0.0up to date
 dashmap^5.4.05.5.3up to date
 derivative^22.2.0up to date
 futures^0.30.3.30up to date
 getrandom^0.20.2.14up to date
 heapless^0.7.160.8.0out of date
 hex^0.40.4.3up to date
 http^0.2.81.1.0out of date
 hyper ⚠️^0.141.3.1out of date
 js-sys^0.3.640.3.69up to date
 lazy_static^1.41.4.0up to date
 libc^0.20.2.154up to date
 linked_hash_set^0.10.1.4up to date
 lz4_flex^0.110.11.3up to date
 num_enum^0.5.70.7.2out of date
 once_cell^1.17.01.19.0up to date
 petgraph^0.6.30.6.4up to date
 pin-project^1.0.121.1.5up to date
 rand^0.80.8.5up to date
 rayon^1.7.01.10.0up to date
 reqwest^0.110.12.4out of date
 rkyv^0.7.400.7.44up to date
 rusty_pool^0.7.00.7.0up to date
 semver^1.0.171.0.22up to date
 serde^1.01.0.199up to date
 serde_cbor^0.11.20.11.2up to date
 serde_derive^11.0.199up to date
 serde_json^11.0.116up to date
 serde_yaml^0.90.9.34+deprecatedup to date
 sha2^0.100.10.8up to date
 shared-buffer^0.1.40.1.4up to date
 tempfile^3.6.03.10.1up to date
 term_size^0.30.3.2up to date
 termios^0.30.3.3up to date
 thiserror^11.0.59up to date
 tokio ⚠️^11.37.0maybe insecure
 tokio-stream^0.10.1.15up to date
 tower^0.4.130.4.13up to date
 tower-http^0.4.00.5.2out of date
 tracing^0.1.370.1.40up to date
 typetag^0.10.2.16out of date
 url^2.3.12.5.0up to date
 urlencoding^22.1.3up to date
 virtual-fs^0.11.20.11.3up to date
 virtual-mio^0.3.10.3.1up to date
 virtual-net^0.6.30.6.5up to date
 waker-fn^1.11.1.1up to date
 wasm-bindgen^0.2.870.2.92up to date
 wasm-bindgen-futures^0.4.370.4.42up to date
 wasmer=4.2.84.2.8up to date
 wasmer-emscripten=4.2.84.2.8up to date
 wasmer-journal^0.1.00.1.2up to date
 wasmer-types=4.2.84.2.8up to date
 wasmer-wasix-types^0.18.30.18.4up to date
 wcgi^0.1.20.1.2up to date
 wcgi-host^0.1.20.1.2up to date
 web-sys^0.3.640.3.69up to date
 webc^5.8.05.8.1up to date
 weezl^0.10.1.8up to date
 winapi^0.30.3.9up to date
 xxhash-rust^0.8.80.8.10up to date

Dev dependencies

(7 total, 1 possibly insecure)

CrateRequiredLatestStatus
 pretty_assertions^1.3.01.4.0up to date
 tokio ⚠️^11.37.0maybe insecure
 tracing-subscriber^0.30.3.18up to date
 tracing-test^0.2.40.2.4up to date
 tracing-wasm^0.20.2.1up to date
 wasm-bindgen-test^0.3.00.3.42up to date
 wasmer=4.2.84.2.8up to date

Security Vulnerabilities

hyper: Lenient `hyper` header parsing of `Content-Length` could allow request smuggling

RUSTSEC-2021-0078

hyper's HTTP header parser accepted, according to RFC 7230, illegal contents inside Content-Length headers. Due to this, upstream HTTP proxies that ignore the header may still forward them along if it chooses to ignore the error.

To be vulnerable, hyper must be used as an HTTP/1 server and using an HTTP proxy upstream that ignores the header's contents but still forwards it. Due to all the factors that must line up, an attack exploiting this vulnerability is unlikely.

hyper: Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss

RUSTSEC-2021-0079

When decoding chunk sizes that are too large, hyper's code would encounter an integer overflow. Depending on the situation, this could lead to data loss from an incorrect total size, or in rarer cases, a request smuggling attack.

To be vulnerable, you must be using hyper for any HTTP/1 purpose, including as a client or server, and consumers must send requests or responses that specify a chunk size greater than 18 exabytes. For a possible request smuggling attack to be possible, any upstream proxies must accept a chunk size greater than 64 bits.

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