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 h3

Dependencies

(7 total, 1 possibly insecure)

CrateRequiredLatestStatus
 bytes^11.7.2up to date
 fastrand^2.0.12.1.1up to date
 futures-util^0.30.3.30up to date
 http^11.1.0up to date
 pin-project-lite^0.20.2.14up to date
 tokio ⚠️^11.40.0maybe insecure
 tracing^0.1.400.1.40up to date

Dev dependencies

(11 total, 3 possibly insecure)

CrateRequiredLatestStatus
 assert_matches^1.5.01.5.0up to date
 futures^0.3.280.3.30up to date
 futures-util^0.30.3.30up to date
 proptest^11.5.0up to date
 quinn^0.110.11.5up to date
 quinn-proto ⚠️^0.110.11.8maybe insecure
 rcgen^0.130.13.1up to date
 rustls ⚠️^0.230.23.13maybe insecure
 tokio ⚠️^11.40.0maybe insecure
 tokio-util^0.7.90.7.12up to date
 tracing-subscriber^0.30.3.18up 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);

rustls: `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input

RUSTSEC-2024-0336

If a close_notify alert is received during a handshake, complete_io does not terminate.

Callers which do not call complete_io are not affected.

rustls-tokio and rustls-ffi do not call complete_io and are not affected.

rustls::Stream and rustls::StreamOwned types use complete_io and are affected.

quinn-proto: `Endpoint::retry()` calls can lead to panicking

RUSTSEC-2024-0373

In 0.11.0, we overhauled the server-side Endpoint implementation to enable more careful handling of incoming connection attempts. However, some of the code paths that cleaned up state after connection attempts were processed confused the initial destination connection ID with the destination connection ID of a substantial package. This resulted in the internal Endpoint state becoming inconsistent, which could then lead to a panic.

https://github.com/quinn-rs/quinn/commit/e01609ccd8738bd438d86fa7185a0f85598cb58f

Thanks to @finbear for reporting and investingating, and to @BiagoFesta for coordinating.