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, 28 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.661.0.98up to date
 async-trait^0.10.1.88up to date
 base64^0.210.22.1out of date
 bincode^1.32.0.1out of date
 blake3^1.01.8.2up to date
 bytecheck^0.6.80.8.1out of date
 bytes^11.10.1up to date
 cfg-if^1.01.0.1up to date
 chrono^0.4.310.4.41up to date
 cooked-waker^55.0.0up to date
 dashmap^5.4.06.1.0out of date
 derivative^22.2.0up to date
 futures^0.30.3.31up to date
 getrandom^0.20.3.3out of date
 heapless^0.7.160.8.0out of date
 hex^0.40.4.3up to date
 http^0.2.81.3.1out of date
 hyper ⚠️^0.141.6.0out of date
 js-sys^0.3.640.3.77up to date
 lazy_static^1.41.5.0up to date
 libc^0.20.2.174up to date
 linked_hash_set^0.10.1.5up to date
 lz4_flex^0.110.11.5up to date
 num_enum^0.5.70.7.4out of date
 once_cell^1.17.01.21.3up to date
 petgraph^0.6.30.8.2out of date
 pin-project^1.0.121.1.10up to date
 rand^0.80.9.1out of date
 rayon^1.7.01.10.0up to date
 reqwest^0.110.12.22out of date
 rkyv^0.7.400.8.10out of date
 rusty_pool^0.7.00.7.0up to date
 semver^1.0.171.0.26up to date
 serde^1.01.0.219up to date
 serde_cbor^0.11.20.11.2up to date
 serde_derive^11.0.219up to date
 serde_json^11.0.140up to date
 serde_yaml^0.90.9.34+deprecatedup to date
 sha2^0.100.10.9up to date
 shared-buffer^0.1.40.1.4up to date
 tempfile^3.6.03.20.0up to date
 term_size^0.30.3.2up to date
 termios^0.30.3.3up to date
 thiserror^12.0.12out of date
 tokio ⚠️^11.46.1maybe insecure
 tokio-stream^0.10.1.17up to date
 tower^0.4.130.5.2out of date
 tower-http^0.4.00.6.6out of date
 tracing^0.1.370.1.41up to date
 typetag^0.10.2.20out of date
 url^2.3.12.5.4up to date
 urlencoding^22.1.3up to date
 virtual-fs^0.11.20.600.1out of date
 virtual-mio^0.3.10.600.1out of date
 virtual-net^0.6.30.600.1out of date
 waker-fn^1.11.2.0up to date
 wasm-bindgen^0.2.870.2.100up to date
 wasm-bindgen-futures^0.4.370.4.50up to date
 wasmer=4.2.86.0.1out of date
 wasmer-emscripten=4.2.84.4.0out of date
 wasmer-journal^0.1.00.600.1out of date
 wasmer-types=4.2.86.0.1out of date
 wasmer-wasix-types^0.18.30.600.1out of date
 wcgi^0.1.20.3.0out of date
 wcgi-host^0.1.20.3.0out of date
 web-sys^0.3.640.3.77up to date
 webc^5.8.09.0.0out of date
 weezl^0.10.1.10up to date
 winapi^0.30.3.9up to date
 xxhash-rust^0.8.80.8.15up to date

Dev dependencies

(7 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 pretty_assertions^1.3.01.4.1up to date
 tokio ⚠️^11.46.1maybe insecure
 tracing-subscriber^0.30.3.19up to date
 tracing-test^0.2.40.2.5up to date
 tracing-wasm^0.20.2.1up to date
 wasm-bindgen-test^0.3.00.3.50up to date
 wasmer=4.2.86.0.1out of 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);