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, 30 outdated, 4 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.0.661.0.102up to date
 async-trait^0.10.1.89up to date
 base64^0.210.22.1out of date
 bincode^1.33.0.0out of date
 blake3^1.01.8.3up to date
 bytecheck^0.6.80.8.2out of date
 bytes ⚠️^11.11.1maybe insecure
 cfg-if^1.01.0.4up to date
 chrono^0.4.310.4.44up 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.32up to date
 getrandom^0.20.4.2out of date
 heapless^0.7.160.9.2out of date
 hex^0.40.4.3up to date
 http^0.2.81.4.0out of date
 hyper ⚠️^0.141.8.1out of date
 js-sys^0.3.640.3.91up to date
 lazy_static^1.41.5.0up to date
 libc^0.20.2.183up to date
 linked_hash_set^0.10.1.6up to date
 lz4_flex^0.110.13.0out of date
 num_enum^0.5.70.7.6out of date
 once_cell^1.17.01.21.4up to date
 petgraph^0.6.30.8.3out of date
 pin-project^1.0.121.1.11up to date
 rand^0.80.10.0out of date
 rayon^1.7.01.11.0up to date
 reqwest^0.110.13.2out of date
 rkyv ⚠️^0.7.400.8.15out of date
 rusty_pool^0.7.00.7.0up to date
 semver^1.0.171.0.27up to date
 serde^1.01.0.228up to date
 serde_cbor^0.11.20.11.2up to date
 serde_derive^11.0.228up to date
 serde_json^11.0.149up to date
 serde_yaml^0.90.9.34+deprecatedup to date
 sha2^0.100.11.0out of date
 shared-buffer^0.1.40.1.4up to date
 tempfile^3.6.03.27.0up to date
 term_size^0.30.3.2up to date
 termios^0.30.3.3up to date
 thiserror^12.0.18out of date
 tokio ⚠️^11.50.0maybe insecure
 tokio-stream^0.10.1.18up to date
 tower^0.4.130.5.3out of date
 tower-http^0.4.00.6.8out of date
 tracing^0.1.370.1.44up to date
 typetag^0.10.2.21out of date
 url^2.3.12.5.8up to date
 urlencoding^22.1.3up to date
 virtual-fs^0.11.20.701.0out of date
 virtual-mio^0.3.10.701.0out of date
 virtual-net^0.6.30.701.0out of date
 waker-fn^1.11.2.0up to date
 wasm-bindgen^0.2.870.2.114up to date
 wasm-bindgen-futures^0.4.370.4.64up to date
 wasmer=4.2.87.1.0out of date
 wasmer-emscripten=4.2.84.4.0out of date
 wasmer-journal^0.1.00.701.0out of date
 wasmer-types=4.2.87.1.0out of date
 wasmer-wasix-types^0.18.30.701.0out 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.91up to date
 webc^5.8.011.0.0out of date
 weezl^0.10.1.12up to date
 winapi^0.30.3.9up to date
 xxhash-rust^0.8.80.8.15up to date

Dev dependencies

(7 total, 1 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 pretty_assertions^1.3.01.4.1up to date
 tokio ⚠️^11.50.0maybe insecure
 tracing-subscriber ⚠️^0.30.3.23maybe insecure
 tracing-test^0.2.40.2.6up to date
 tracing-wasm^0.20.2.1up to date
 wasm-bindgen-test^0.3.00.3.64up to date
 wasmer=4.2.87.1.0out 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);

tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequences

RUSTSEC-2025-0055

Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:

  • Manipulate terminal title bars
  • Clear screens or modify terminal display
  • Potentially mislead users through terminal manipulation

In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.

This was patched in PR #3368 to escape ANSI control characters from user input.

rkyv: Potential Undefined Behaviors in `Arc<T>`/`Rc<T>` impls of `from_value` on OOM

RUSTSEC-2026-0001

The SharedPointer::alloc implementation for sync::Arc<T> and rc::Rc<T> in rkyv/src/impls/alloc/rc/atomic.rs (and rc.rs) does not check if the allocator returns a null pointer on OOM (Out of Memory).

This null pointer can flow through to SharedPointer::from_value, which calls Box::from_raw(ptr) with the null pointer. This triggers undefined behavior when utilizing safe deserialization APIs (such as rkyv::from_bytes or rkyv::deserialize_using) if an OOM condition occurs during the allocation of the shared pointer.

The issue is reachable through safe code and violates Rust's safety guarantees.

bytes: Integer overflow in `BytesMut::reserve`

RUSTSEC-2026-0007

In the unique reclaim path of BytesMut::reserve, the condition

if v_capacity >= new_cap + offset

uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB.

This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.

PoC

use bytes::*;

fn main() {
    let mut a = BytesMut::from(&b"hello world"[..]);
    let mut b = a.split_off(5);

    // Ensure b becomes the unique owner of the backing storage
    drop(a);

    // Trigger overflow in new_cap + offset inside reserve
    b.reserve(usize::MAX - 6);

    // This call relies on the corrupted cap and may cause UB & HBO
    b.put_u8(b'h');
}

Workarounds

Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.