Skip to content

deps: bump mysql2 to 3.24.3 (GHSA-3f6p-5ww8-9rcr, GHSA-rgwj-5xj2-c3m3) - #840

Open
katsugtgz wants to merge 1 commit into
eclipse-iofog:developfrom
katsugtgz:deps-mysql2-3.24.3
Open

deps: bump mysql2 to 3.24.3 (GHSA-3f6p-5ww8-9rcr, GHSA-rgwj-5xj2-c3m3)#840
katsugtgz wants to merge 1 commit into
eclipse-iofog:developfrom
katsugtgz:deps-mysql2-3.24.3

Conversation

@katsugtgz

Copy link
Copy Markdown

Updates mysql2 to address GHSA-3f6p-5ww8-9rcr and GHSA-rgwj-5xj2-c3m3.

Evidence:

  • package.json and package-lock.json pinned mysql2@3.10.1
  • osv-scanner reported GHSA-3f6p-5ww8-9rcr (auth plugin downgrade to mysql_clear_password, fixed in 3.22.0) and GHSA-rgwj-5xj2-c3m3 (DoS with compress: true, fixed in 3.23.1) against 3.10.1
  • updated version: 3.24.3

Validation:

  • osv-scanner no longer reports either mysql2 advisory after the update
  • npm test (unit suite, 1216 tests) passes, same as on develop before the change. Run with npm ci --legacy-peer-deps, npm rebuild sqlite3 --build-from-source, and LOG_DIRECTORY=/tmp/iofog-controller-logs, matching .github/workflows/quality.yml. Local node is 22 instead of the workflow's 24; tests pass on both the base commit and this branch in the same environment

Note: osv-scanner still reports two separate advisories for browserslist 4.28.2 (GHSA-73wf-gq98-2v4g, GHSA-c83g-rgw3-j3cx), a dev dependency untouched by this patch.

Scope: dependency/lockfile update only (package.json, package-lock.json).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant