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 wtx

Dependencies

(41 total, 1 outdated, 5 possibly insecure)

CrateRequiredLatestStatus
 arbitrary^1.01.4.2up to date
 argon2^0.6.0-rc.80.5.3up to date
 async-io^2.02.6.0up to date
 async-net^2.02.0.0up to date
 aws-lc-rs^1.01.17.0up to date
 crossbeam-channel^0.50.5.15up to date
 embassy-net^0.90.9.1up to date
 embassy-time^0.50.5.1up to date
 flate2^1.01.1.9up to date
 foldhash^0.20.2.0up to date
 futures-lite^2.02.6.1up to date
 getrandom^0.40.4.2up to date
 graviola^0.30.3.4up to date
 hashbrown^0.170.17.1up to date
 httparse^1.01.10.1up to date
 libc^0.20.2.186up to date
 matchit^0.90.9.2up to date
 memchr^2.02.8.0up to date
 openssl ⚠️^0.100.10.80maybe insecure
 parking_lot^0.120.12.5up to date
 portable-atomic^1.01.13.1up to date
 portable-atomic-util^0.20.2.7up to date
 quick-protobuf^0.80.8.1up to date
 rand_core^0.100.10.1up to date
 ring ⚠️^0.170.17.14maybe insecure
 rust_decimal^1.01.42.0up to date
 rustls ⚠️^0.230.23.40maybe insecure
 rustls-pemfile^2.02.2.0up to date
 rustls-pki-types^1.01.14.1up to date
 serde^1.01.0.228up to date
 serde_json^1.01.0.149up to date
 sha3^0.110.12.0out of date
 simdutf8^0.10.1.5up to date
 tokio ⚠️^1.01.52.3maybe insecure
 tokio-rustls^0.260.26.4up to date
 tracing^0.10.1.44up to date
 tracing-subscriber ⚠️^0.30.3.23maybe insecure
 tracing-tree^0.40.4.1up to date
 uuid^1.01.23.1up to date
 webpki-roots^1.01.0.7up to date
 wtx-macros^0.8.00.8.0up to date

Dev dependencies

(1 total, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio ⚠️^1.01.52.3maybe insecure

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

rustls: rustls network-reachable panic in `Acceptor::accept`

RUSTSEC-2024-0399

A bug introduced in rustls 0.23.13 leads to a panic if the received TLS ClientHello is fragmented. Only servers that use rustls::server::Acceptor::accept() are affected.

Servers that use tokio-rustls's LazyConfigAcceptor API are affected.

Servers that use tokio-rustls's TlsAcceptor API are not affected.

Servers that use rustls-ffi's rustls_acceptor_accept API are affected.

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.

openssl: Use-After-Free in `Md::fetch` and `Cipher::fetch`

RUSTSEC-2025-0022

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.

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.