Skip to content

chore(deps): update dependency mysql2 to v3.9.8 [security]#57

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-mysql2-vulnerability
Open

chore(deps): update dependency mysql2 to v3.9.8 [security]#57
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-mysql2-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 23, 2024

This PR contains the following updates:

Package Change Age Confidence
mysql2 (source) 3.9.43.9.8 age confidence

MySQL2 for Node Arbitrary Code Injection

CVE-2024-21511 / GHSA-4rch-2fh8-94vw

More information

Details

Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone parameter in the readCodeFor function by calling a native MySQL Server date/time function.

Severity

  • CVSS Score: 9.8 / 10 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


mysql2 vulnerable to Prototype Pollution

CVE-2024-21512 / GHSA-pmh2-wpjm-fj45

More information

Details

Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields and tables when using nestTables.

Severity

  • CVSS Score: 8.2 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

sidorares/node-mysql2 (mysql2)

v3.9.8

Compare Source

Bug Fixes
  • security: sanitize fields and tables when using nestTables (#​2702) (efe3db5)
  • support deno + caching_sha2_password FULL_AUTHENTICATION_PACKET flow (#​2704) (2e03694)
  • typings: typo from jonServerPublicKey to onServerPublicKey (#​2699) (8b5f691)

v3.9.7

Compare Source

Bug Fixes
  • security: sanitize timezone parameter value to prevent code injection (#​2608) (7d4b098)

v3.9.6

Compare Source

Bug Fixes
  • binary parser sometimes reads out of packet bounds when results contain null and typecast is false (#​2601) (705835d)

v3.9.5

Compare Source

Bug Fixes

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/npm-mysql2-vulnerability branch from fd3d395 to ecdb242 Compare May 30, 2024 20:47
@renovate renovate Bot changed the title chore(deps): update dependency mysql2 to v3.9.7 [security] chore(deps): update dependency mysql2 to v3.9.8 [security] May 30, 2024
@renovate renovate Bot changed the title chore(deps): update dependency mysql2 to v3.9.8 [security] chore(deps): update dependency mysql2 to v3.9.8 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/npm-mysql2-vulnerability branch March 27, 2026 01:54
@renovate renovate Bot changed the title chore(deps): update dependency mysql2 to v3.9.8 [security] - autoclosed chore(deps): update dependency mysql2 to v3.9.8 [security] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/npm-mysql2-vulnerability branch 2 times, most recently from ecdb242 to ab93049 Compare March 30, 2026 22:10
@renovate renovate Bot changed the title chore(deps): update dependency mysql2 to v3.9.8 [security] chore(deps): update dependency mysql2 to v3.9.8 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title chore(deps): update dependency mysql2 to v3.9.8 [security] - autoclosed chore(deps): update dependency mysql2 to v3.9.8 [security] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/npm-mysql2-vulnerability branch 2 times, most recently from ab93049 to 7eb1389 Compare April 27, 2026 23:12
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.

0 participants