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

Crate msql-srv

Dependencies

(5 total, 3 outdated, 1 insecure)

CrateRequiredLatestStatus
 nom^78.0.0out of date
 mysql_common^0.31.00.38.2out of date
 byteorder^11.5.0up to date
 chrono^0.4.230.4.45up to date
 rustls ⚠️^0.22.10.23.46insecure

Dev dependencies

(22 total, 6 outdated)

CrateRequiredLatestStatus
 postgres^0.19.10.19.14up to date
 mysql^2428.0.4out of date
 mysql_async^0.33.00.37.1out of date
 slab^0.4.20.4.12up to date
 tokio^1.15.01.54.1up to date
 futures^0.3.00.3.34up to date
 rcgen^0.8.140.14.10out of date
 tempfile^3.3.03.27.0up to date
 native-tls^0.2.80.2.18up to date
 openssl^0.10.660.10.82up to date
 flate2^1.0.131.1.11up to date
 tap^1.0.11.0.1up to date
 time^0.3.10.3.55up to date
 byteorder^1.2.41.5.0up to date
 rand^0.3.140.10.3out of date
 async-trait^0.1.90.1.92up to date
 twox-hash^2.1.02.1.5up to date
 mysql_common^0.30.60.38.2out of date
 bufstream^0.1.30.1.4up to date
 bindgen^0.58.10.73.2out of date
 cmake^0.1.450.1.58up to date
 serde_derive^1.0.1001.0.229up to date

Security Vulnerabilities

rustls: `Debug` impls for client session values expose TLS secrets

RUSTSEC-2026-0346

The Debug implementations of Tls12ClientSessionValue and Tls13ClientSessionValue were derived, and so included the TLS 1.2 master secret or TLS 1.3 resumption PSK in their output.

Custom ClientSessionStore implementations that format these values with Debug (for example, when logging) could disclose these secrets to readers of the logs. This conflicts with rustls's key-material redaction policy.

Ordinary connection and built-in session cache Debug output is redacted and is not affected.

rustls: Unauthenticated ServerHello can downgrade later connections to classical key exchange

RUSTSEC-2026-0349

The client recorded the server-selected key exchange group for each server name when processing the ServerHello, before the server was authenticated. This record is used to predict which key share to send in future ClientHellos to that server name.

A network attacker can answer one connection attempt with a ServerHello selecting X25519, and then close the connection. Later ClientHellos for that name carry only an X25519 key share, while supported_groups still lists X25519MLKEM768 first. If the genuine server accepts that share rather than sending a HelloRetryRequest for its preferred hybrid group, the handshake completes with classical-only key exchange and no error. This persists for as long as the entry stays in the client's session store.

The impact is loss of post-quantum confidentiality for affected connections ("harvest now, decrypt later"). There is no key compromise and no authentication bypass.

The following are not affected:

  • connections to servers which send a HelloRetryRequest for their preferred group,
  • clients with resumption disabled (as nothing is stored), and
  • other server names.

This behaviour is discussed in draft-ietf-tls-key-share-prediction, so the practical impact depends largely on server policy.