This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate serenity

Dependencies

(22 total, 13 outdated, 3 insecure)

CrateRequiredLatestStatus
 audiopus^0.10.2.0out of date
 base64^0.100.23.1out of date
 bitflags^1.02.13.2out of date
 byteorder^1.31.5.0up to date
 chrono^0.40.4.45up to date
 command_attr^0.10.5.4out of date
 flate2^1.01.1.10up to date
 log^0.40.4.34up to date
 parking_lot^0.80.12.5out of date
 rand^0.60.10.2out of date
 reqwest^0.90.13.5out of date
 rustls ⚠️^0.150.23.45insecure
 serde^1.01.0.229up to date
 serde_json^1.01.0.151up to date
 sodiumoxide^0.20.2.7up to date
 threadpool^1.71.8.1up to date
 tungstenite ⚠️^0.60.30.0insecure
 typemap^0.30.3.3up to date
 url^1.72.5.8out of date
 uwl^0.3.20.6.0out of date
 webpki ⚠️^0.190.22.4insecure
 webpki-roots^0.161.0.9out of date

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 http^0.11.5.0out of date
 matches^0.10.1.10up to 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.

tungstenite: Tungstenite allows remote attackers to cause a denial of service

RUSTSEC-2023-0065

The Tungstenite crate through 0.20.0 for Rust allows remote attackers to cause a denial of service (minutes of CPU consumption) via an excessive length of an HTTP header in a client handshake. The length affects both how many times a parse is attempted (e.g., thousands of times) and the average amount of data for each parse attempt (e.g., millions of bytes).

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.