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 mysql

Dependencies

(22 total, 7 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 bufstream~0.10.1.4up to date
 bytes^1.0.11.6.0up to date
 crossbeam^0.8.10.8.4up to date
 flate2^1.01.0.30up to date
 io-enum^1.0.01.1.3up to date
 libc^0.20.2.155up to date
 lru ⚠️^0.70.12.3out of date
 mysql_common^0.28.00.32.3out of date
 named_pipe~0.40.4.1up to date
 native-tls^0.2.30.2.11up to date
 once_cell^1.7.21.19.0up to date
 pem^1.0.13.0.4out of date
 percent-encoding^2.1.02.3.1up to date
 rustls ⚠️^0.20.00.23.7out of date
 rustls-pemfile^1.0.02.1.2out of date
 serde^11.0.202up to date
 serde_json^11.0.117up to date
 socket2^0.40.5.7out of date
 twox-hash^11.6.3up to date
 url^2.12.5.0up to date
 webpki ⚠️^0.22.00.22.4maybe insecure
 webpki-roots^0.22.10.26.1out of date

Dev dependencies

(5 total, all up-to-date)

CrateRequiredLatestStatus
 frunk^0.40.4.2up to date
 lazy_static^1.4.01.4.0up to date
 rand^0.8.20.8.5up to date
 serde_derive^11.0.202up to date
 time^0.30.3.36up to date

Security Vulnerabilities

lru: Use after free in lru crate

RUSTSEC-2021-0130

Lru crate has use after free vulnerability.

Lru crate has two functions for getting an iterator. Both iterators give references to key and value. Calling specific functions, like pop(), will remove and free the value, and but it's still possible to access the reference of value which is already dropped causing use after free.

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.