mysql2
3.24.6 · 13 Oct 2026MIT25.7M / weekRepositoryHomepagenpmAtom feed
Upgrading mysql2 From 3.0.1 to 3.1.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
7 advisories still affect 3.1.0
- MySQL2: Auth Plugin Downgrade to mysql_clear_password Leaks Plaintext Credentialshigh · GHSA-3f6p-5ww8-9rcr
- mysql2 vulnerable to Prototype Poisoningmoderate · GHSA-49j4-86m8-q2jw
- MySQL2 for Node Arbitrary Code Injectioncritical · GHSA-4rch-2fh8-94vw
Upgrading to 3.23.1 clears them.
Release by release
- New
Cleanup buffer/string conversions in hashing/xor helpers that were failing in Bun
- Fixed
When port is pased as a string convert it to a number (Bun's net.connect does not automatically convert this)
- New
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.