mysql2
3.24.6 · 13 Oct 2026MIT25.7M / weekRepositoryHomepagenpmAtom feed
Your version
3.24.6 is the newest release of 3.x.
In short
3 fixed
Security
2 advisories affect 3.17.2; 3.23.1 fixes them
- HighMySQL2: Auth Plugin Downgrade to mysql_clear_password Leaks Plaintext CredentialsGHSA-3f6p-5ww8-9rcr · 1 Sep 2026Fixed in 3.22.0
- ModerateMySQL2: Unbounded zlib inflate in compressed MySQL protocol handler allows decompression-bomb DoSGHSA-rgwj-5xj2-c3m3 · 31 Aug 2026Fixed in 3.23.1
Release note
Bug Fixes
format: distinguish delimiters in queries from SQL comments
pool: discard connection on error 1290 (Aurora read-only failure)
pool: handle all read-only errors during Aurora failover
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.