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 libp2p-websocket

Dependencies

(13 total, 8 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 async-tls^0.60.13.0out of date
 bytes^0.51.6.0out of date
 either^1.5.31.11.0up to date
 futures^0.3.10.3.30up to date
 libp2p-core^0.14.0-alpha.10.41.2out of date
 log^0.4.80.4.21up to date
 quicksink^0.10.1.2up to date
 rustls ⚠️^0.160.23.5out of date
 rw-stream-sink^0.2.00.4.0out of date
 soketto^0.30.8.0out of date
 url^2.12.5.0up to date
 webpki ⚠️^0.210.22.4out of date
 webpki-roots^0.180.26.1out of date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 libp2p-tcp^0.14.0-alpha.10.41.0out of date

Security Vulnerabilities

webpki: webpki: CPU denial of service in certificate path building

RUSTSEC-2023-0052

When this crate is given a pathological certificate chain to validate, it will spend CPU time exponential with the number of candidate certificates at each step of path building.

Both TLS clients and TLS servers that accept client certificate are affected.

This was previously reported in https://github.com/briansmith/webpki/issues/69 and re-reported recently by Luke Malinowski.

webpki 0.22.1 included a partial fix and webpki 0.22.2 added further fixes.

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.