Skip to content

chore(deps): bump mysql2 from 3.22.6 to 3.23.1 - #1759

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/mysql2-3.23.1
Open

chore(deps): bump mysql2 from 3.22.6 to 3.23.1#1759
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/npm_and_yarn/mysql2-3.23.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 3, 2026

Copy link
Copy Markdown
Contributor

Bumps mysql2 from 3.22.6 to 3.23.1.

Release notes

Sourced from mysql2's releases.

v3.23.1

3.23.1 (2026-07-19)

Bug Fixes

  • security: fix unbounded decompression of server-supplied compressed packets, reported by alanturing881 (7c48343)
  • parser: call typeCast for NULL values in the binary protocol (#4394) (01f1092)

v3.23.0

3.23.0 (2026-07-13)

Features

  • return unsafe integers inside JSON columns as exact strings with supportBigNumbers (#4388) (a26ff14)
  • sql-escaper: add Temporal support when escaping values (#4392) (6b933f6)
  • support MariaDB data types (UUID, INET4, INET6, VECTOR, JSON) via extended type metadata; run CI against MariaDB (#4373) (5034e57)
Changelog

Sourced from mysql2's changelog.

3.23.1 (2026-07-19)

Bug Fixes

  • security: fix unbounded decompression of server-supplied compressed packets, reported by alanturing881 (7c48343)
  • parser: call typeCast for NULL values in the binary protocol (#4394) (01f1092)

3.23.0 (2026-07-13)

Features

  • return unsafe integers inside JSON columns as exact strings with supportBigNumbers (#4388) (a26ff14)
  • sql-escaper: add Temporal support when escaping values (#4392) (6b933f6)
  • support MariaDB data types (UUID, INET4, INET6, VECTOR, JSON) via extended type metadata; run CI against MariaDB (#4373) (5034e57)
Commits
  • 3de28fb chore(master): release 3.23.1 (#4408)
  • 01f1092 fix(parser): call typeCast for NULL values in the binary protocol (#3368) (#4...
  • 534c552 build(deps): bump lucide-react from 1.24.0 to 1.25.0 in /website (#4407)
  • 7c48343 Merge commit from fork
  • 3e13d7b docs: establish security charter (#4404)
  • 26c135b build(deps): bump websocket-driver from 0.7.4 to 0.7.5 in /website (#4403)
  • f86cfb1 chore(master): release 3.23.0 (#4387)
  • 6316492 build(deps): bump the docusaurus group in /website with 2 updates (#4396)
  • 6b933f6 feat(sql-escaper): add Temporal support when escaping values (#4392)
  • 457c316 build(deps): bump lucide-react from 1.23.0 to 1.24.0 in /website (#4391)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note

Medium Risk
Upgrades the production MySQL driver with security and parsing/escaping behavior changes that can affect mirror DB query results and compressed connections, though scope is limited to dependency wiring.

Overview
Bumps mysql2 from 3.22.6 to 3.23.1 in package.json and package-lock.json, including its sql-escaper dependency (^1.4.0^1.5.1). Lockfile churn also adjusts peer metadata on unrelated packages; there are no application source changes.

The new driver version brings a security fix for unbounded decompression of server-supplied compressed packets, plus parser behavior changes: typeCast is invoked for NULL values in the binary protocol, and with supportBigNumbers, unsafe integers inside JSON columns can be returned as exact strings. 3.23.0 also adds MariaDB extended type handling and Temporal-aware value escaping in sql-escaper.

Because CADT uses mysql2/promise for MySQL mirror connectivity alongside Sequelize’s mysql dialect, reviewers should sanity-check mirror DB reads/writes and any custom typeCast or big-number/JSON column handling in tests or live mirror scenarios.

Reviewed by Cursor Bugbot for commit 7606a62. Bugbot is set up for automated code reviews on this repo. Configure here.

Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.22.6 to 3.23.1.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](sidorares/node-mysql2@v3.22.6...v3.23.1)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.23.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 3, 2026
@dependabot
dependabot Bot deployed to windows-code-signing September 3, 2026 09:18 Active
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedmysql2@​3.22.6 ⏵ 3.23.199100 +210096 +5100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants