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

Crate sqlx-mysql

Dependencies

(39 total, 12 outdated, 1 insecure)

CrateRequiredLatestStatus
 atoi^2.03.1.0out of date
 base64^0.22.00.23.1out of date
 bigdecimal^0.4.00.4.11up to date
 bitflags^22.13.2up to date
 byteorder^1.4.31.5.0up to date
 bytes^1.1.01.12.1up to date
 chrono^0.4.340.4.45up to date
 crc^3.0.03.4.0up to date
 digest^0.10.00.11.3out of date
 dotenvy^0.15.50.15.7up to date
 either^1.6.11.18.0up to date
 futures-channel^0.3.190.3.34up to date
 futures-core^0.3.190.3.34up to date
 futures-io^0.3.240.3.34up to date
 futures-util^0.3.190.3.34up to date
 generic-array^0.14.41.4.5out of date
 hex^0.4.30.4.3up to date
 hkdf^0.12.00.13.0out of date
 hmac^0.12.00.13.0out of date
 itoa^1.0.11.0.18up to date
 log^0.4.180.4.34up to date
 md-5^0.10.00.11.0out of date
 memchr^2.4.12.8.3up to date
 once_cell^1.9.01.21.4up to date
 percent-encoding^2.1.02.3.2up to date
 rand^0.8.40.10.3out of date
 rsa ⚠️^0.90.9.10insecure
 rust_decimal^1.26.11.43.0up to date
 serde^1.0.1441.0.229up to date
 sha1^0.10.10.11.0out of date
 sha2^0.10.00.11.0out of date
 smallvec^1.7.01.16.2up to date
 sqlx-core=0.8.30.9.0out of date
 stringprep^0.1.20.1.5up to date
 thiserror^2.0.02.0.21up to date
 time^0.3.360.3.55up to date
 tracing^0.1.370.1.44up to date
 uuid^1.1.21.26.1up to date
 whoami^1.2.12.1.3out of date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 sqlx=0.8.30.9.0out of date

Security Vulnerabilities

rsa: Marvin Attack: potential key recovery through timing sidechannels

RUSTSEC-2023-0071

Impact

Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key.

Patches

No patch is yet available. The crypto-bigint migration (RustCrypto/RSA#394) did not close this. Tracking is RustCrypto/RSA#626 (padding still not constant-time). Implicit rejection work is in RustCrypto/RSA#680; default-path blinding is in RustCrypto/RSA#702.

Still affected as of 2026-09-12: rsa 0.9.10 (latest stable) and rsa 0.10.0-rc.18 (latest). patched = [] is intentional.

Workarounds

Avoid using the rsa crate in settings where attackers can observe timing, for example over the network. Local use on a non-compromised computer is fine.

References

This vulnerability was discovered as part of the "Marvin Attack", which revealed several implementations of RSA including OpenSSL had not properly mitigated timing sidechannel attacks.