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 rwh

Dependencies

(56 total, 3 possibly insecure)

CrateRequiredLatestStatus
 serde^1.0.1201.0.229up to date
 serde_json^1.0.611.0.151up to date
 serde_derive^1.0.1201.0.229up to date
 crypto_secretbox^0.1.10.1.1up to date
 spake2^0.40.4.0up to date
 sha1^0.110.11.0up to date
 sha2^0.110.11.0up to date
 hkdf^0.130.13.0up to date
 hex^0.4.20.4.3up to date
 rand^0.10.20.10.2up to date
 base64^0.23.10.23.1up to date
 time ⚠️^0.3.70.3.55maybe insecure
 futures-lite^2.62.6.1up to date
 futures-concurrency^7.7.17.7.1up to date
 derive_more^22.1.1up to date
 thiserror^22.0.20up to date
 futures^0.3.120.3.34up to date
 url^2.2.22.5.8up to date
 percent-encoding^2.1.02.3.2up to date
 zxcvbn^3.1.03.1.1up to date
 tracing^0.10.1.44up to date
 stun_codec^0.4.00.4.0up to date
 bytecodec^0.50.5.0up to date
 noise-rust-crypto^0.6.0-rc.10.6.2up to date
 async-trait^0.10.1.92up to date
 noise-protocol^0.20.2.1up to date
 async-task^4.74.7.1up to date
 rmp-serde^1.0.01.3.1up to date
 tar ⚠️^0.4.330.4.46maybe insecure
 fuzzt^0.3.10.3.1up to date
 async-channel^2.52.5.0up to date
 smol^2.02.0.2up to date
 clap^44.6.6up to date
 clap_complete^44.6.9up to date
 env_logger^0.110.11.11up to date
 console^0.160.16.4up to date
 indicatif^0.180.18.6up to date
 dialoguer^0.120.12.0up to date
 color-eyre^0.60.6.5up to date
 unit-prefix^0.50.5.2up to date
 ctrlc^3.2.13.5.2up to date
 qr2term^0.30.3.3up to date
 tracing-subscriber ⚠️^0.30.3.23maybe insecure
 arboard^33.6.1up to date
 libc^0.2.1010.2.189up to date
 async-executor^1.131.14.0up to date
 async-process^2.5.02.5.0up to date
 async-tungstenite^0.350.35.0up to date
 async-io^2.22.6.0up to date
 async-net^2.02.0.0up to date
 async-fs^2.02.2.0up to date
 socket2^0.60.6.5up to date
 if-addrs^0.150.15.0up to date
 ws_stream_wasm^0.7.30.7.5up to date
 getrandom^0.40.4.3up to date
 wasmtimer^0.40.4.3up to date

Dev dependencies

(6 total, 1 possibly insecure)

CrateRequiredLatestStatus
 test-log^0.20.2.21up to date
 eyre ⚠️^0.6.50.6.14maybe insecure
 async-process^2.52.5.0up to date
 macro_rules_attr^0.20.2.0up to date
 trycmd^1.21.2.1up to date
 wasm-bindgen-test^0.30.3.77up to date

Security Vulnerabilities

eyre: Parts of Report are dropped as the wrong type during downcast

RUSTSEC-2024-0021

In affected versions, after a Report is constructed using wrap_err or wrap_err_with to attach a message of type D onto an error of type E, then using downcast to recover ownership of either the value of type D or the value of type E, one of two things can go wrong:

  • If downcasting to E, there remains a value of type D to be dropped. It is incorrectly "dropped" by running E's drop behavior, rather than D's. For example if D is &str and E is std::io::Error, there would be a call of std::io::Error::drop in which the reference received by the Drop impl does not refer to a valid value of type std::io::Error, but instead to &str.

  • If downcasting to D, there remains a value of type E to be dropped. When D and E do not happen to be the same size, E's drop behavior is incorrectly executed in the wrong location. The reference received by the Drop impl may point left or right of the real E value that is meant to be getting dropped.

In both cases, when the Report contains an error E that has nontrivial drop behavior, the most likely outcome is memory corruption.

When the Report contains an error E that has trivial drop behavior (for example a Utf8Error) but where D has nontrivial drop behavior (such as String), the most likely outcome is that downcasting to E would leak D.

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.

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.

tar: `unpack_in` can chmod arbitrary directories by following symlinks

RUSTSEC-2026-0067

In versions 0.4.44 and below of tar-rs, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root.

This issue has been fixed in version 0.4.45.

tar: tar-rs incorrectly ignores PAX size headers if header size is nonzero

RUSTSEC-2026-0068

Versions 0.4.44 and below of tar-rs have conditional logic that skips the PAX size header in cases where the base header size is nonzero.

As part of CVE-2025-62518, the astral-tokio-tar project was changed to correctly honor PAX size headers in the case where it was different from the base header. This is almost the inverse of the astral-tokio-tar issue.

Any discrepancy in how tar parsers honor file size can be used to create archives that appear differently when unpacked by different archivers. In this case, the tar-rs (Rust tar) crate is an outlier in checking for the header size — other tar parsers (including e.g. Go archive/tar) unconditionally use the PAX size override. This can affect anything that uses the tar crate to parse archives and expects to have a consistent view with other parsers.

This issue has been fixed in version 0.4.45.