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 harmonia-utils-hash

Dependencies

(10 total, 1 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 data-encoding^2.62.10.0up to date
 derive_more^2.12.1.1up to date
 harmonia-utils-base-encoding^0.0.0-alpha.0N/Aup to date
 md5^0.80.8.0up to date
 proptest^1.61.11.0up to date
 proptest-derive^0.70.8.0out of date
 ring ⚠️^0.170.17.14maybe insecure
 serde^1.01.0.228up to date
 thiserror^22.0.18up to date
 tokio ⚠️^11.51.0maybe insecure

Dev dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 hex-literal^1.11.1.0up to date
 proptest^1.61.11.0up to date
 rstest^0.260.26.1up to date
 rstest_reuse^0.70.7.0up to date
 serde_json^1.01.0.149up 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);

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.