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 async-ws

Dependencies

(12 total, 7 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-io^1.6.02.4.0out of date
 base64^0.13.00.22.1out of date
 futures^0.3.170.3.31up to date
 futures-lite^1.12.02.6.0out of date
 generic_static^0.2.00.2.0up to date
 http^1.0.01.3.1up to date
 log^0.4.140.4.27up to date
 rand^0.8.40.9.0out of date
 ring ⚠️^0.160.17.14out of date
 strum^0.240.27.1out of date
 thiserror^1.0.302.0.12out of date
 utf-8^0.7.60.7.6up to date

Dev dependencies

(5 total, 3 outdated)

CrateRequiredLatestStatus
 anyhow^1.0.481.0.97up to date
 async-http-codec^0.4.20.8.0out of date
 async-web-server^0.2.10.8.0out of date
 simple_logger^1.13.05.0.0out of date
 smol-timeout^0.6.00.6.1up to date

Security Vulnerabilities

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.