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 quinn

Dependencies

(13 total, 1 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 async-io^2.02.3.4up to date
 async-std^1.111.13.0up to date
 bytes^11.7.2up to date
 futures-io^0.3.190.3.31up to date
 pin-project-lite^0.20.2.14up to date
 quinn-proto ⚠️^0.11.20.11.8maybe insecure
 rustc-hash^1.12.0.0out of date
 rustls ⚠️^0.230.23.15maybe insecure
 smol^22.0.2up to date
 thiserror^1.0.211.0.64up to date
 tokio^1.28.11.40.0up to date
 tracing^0.1.100.1.40up to date
 quinn-udp^0.50.5.5up to date

Dev dependencies

(12 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^1.0.221.0.89up to date
 bencher^0.1.50.1.5up to date
 clap^44.5.20up to date
 crc^33.2.1up to date
 directories-next^22.0.0up to date
 rand^0.80.8.5up to date
 rcgen^0.130.13.1up to date
 rustls-pemfile^22.2.0up to date
 tokio^1.28.11.40.0up to date
 tracing-futures^0.2.00.2.5up to date
 tracing-subscriber^0.3.00.3.18up to date
 url^22.5.2up to date

Security Vulnerabilities

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.