This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate wtx

Dependencies

(54 total, 1 insecure, 3 possibly insecure)

CrateRequiredLatestStatus
 aead^0.60.6.1up to date
 aes-gcm^0.110.11.1up to date
 arbitrary^1.01.4.2up to date
 argon2^0.6.0-rc.80.6.0up to date
 aws-lc-rs^1.01.18.1up to date
 blake3^1.01.8.7up to date
 chacha20^0.100.10.2up to date
 chacha20poly1305^0.110.11.0up to date
 crossbeam-channel^0.50.5.16up to date
 crypto-common^0.20.2.2up to date
 digest^0.110.11.3up to date
 ed25519-dalek^3.03.0.0up to date
 elliptic-curve^0.140.14.1up to date
 embassy-net^0.90.9.1up to date
 embassy-time^0.50.5.1up to date
 foldhash^0.20.2.0up to date
 getrandom^0.40.4.3up to date
 graviola^0.40.4.1up to date
 hashbrown^0.170.17.1up to date
 hkdf^0.130.13.0up to date
 hmac^0.130.13.0up to date
 httparse^1.01.10.1up to date
 libc^0.20.2.189up to date
 memchr^2.02.8.3up to date
 p256^0.140.14.0up to date
 p384^0.140.14.0up to date
 parking_lot^0.120.12.5up to date
 pin-project-lite^0.20.2.17up to date
 pkcs1^0.8.0-rc.40.7.5up to date
 pkcs8^0.110.11.0up to date
 portable-atomic^1.01.15.0up 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
 rsa ⚠️^0.10.0-rc.180.9.10insecure
 rust_decimal^1.01.43.0up to date
 serde^1.01.0.229up to date
 serde_json^1.01.0.151up to date
 sha1^0.110.11.0up to date
 sha2^0.110.11.0up to date
 sha3^0.120.12.0up to date
 signature^3.03.0.0up to date
 simdutf8^0.10.1.5up to date
 socket2^0.60.6.5up to date
 spki^0.80.8.0up to date
 tokio ⚠️^1.01.53.1maybe insecure
 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.26.0up to date
 wtx-macros^0.12.10.12.1up to date
 x25519-dalek^3.03.0.0up to date
 zlib-rs^0.60.6.7up to date

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

rsa: Marvin Attack: potential key recovery through timing sidechannels

RUSTSEC-2023-0071

Impact

Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key.

Patches

No patch is yet available, however work is underway to migrate to a fully constant-time implementation.

Workarounds

The only currently available workaround is to avoid using the rsa crate in settings where attackers are able to observe timing information, e.g. local use on a non-compromised computer is fine.

References

This vulnerability was discovered as part of the "Marvin Attack", which revealed several implementations of RSA including OpenSSL had not properly mitigated timing sidechannel attacks.

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.

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.