Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency mysql2 to v3.9.8 [SECURITY] #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mysql2 (source) 3.5.2 -> 3.9.8 age adoption passing confidence
mysql2 (source) ~2.3.0 -> ~3.9.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-21507

Versions of the package mysql2 before 3.9.3 are vulnerable to Improper Input Validation through the keyFromFields function, resulting in cache poisoning. An attacker can inject a colon : character within a value of the attacker-crafted key.

CVE-2024-21509

Versions of the package mysql2 before 3.9.4 are vulnerable to Prototype Poisoning due to insecure results object creation and improper user input sanitization passed through parserFn in text_parser.js and binary_parser.js.

CVE-2024-21508

Versions of the package mysql2 before 3.9.4 are vulnerable to Remote Code Execution (RCE) via the readCodeFor function due to improper validation of the supportBigNumbers and bigNumberStrings values.

CVE-2024-21511

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.

CVE-2024-21512

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.


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

v3.9.4

Compare Source

Bug Fixes

v3.9.3

Compare Source

Bug Fixes
  • security: improve cache key formation (#​2424) (0d54b0c)
    • Fixes a potential parser cache poisoning attack vulnerability reported by Vsevolod Kokorin (Slonser) of Solidlab
  • update Amazon RDS SSL CA cert (#​2131) (d9dccfd)

v3.9.2

Compare Source

Bug Fixes

v3.9.1

Compare Source

Bug Fixes

v3.9.0

Compare Source

Features

v3.8.0

Compare Source

Features
Bug Fixes

v3.7.1

Compare Source

Bug Fixes
  • add condition which allows code in callback to be reachable (#​2376) (8d5b903)

v3.7.0

Compare Source

Features

v3.6.5

Compare Source

Bug Fixes
  • add decodeuricomponent to parse uri encoded special characters in host, username, password and datbase keys (#​2277) (fe573ad)

v3.6.4

Compare Source

Bug Fixes

v3.6.3

Compare Source

Bug Fixes
  • correctly pass values when used with sql-template-strings library (#​2266) (6444f99)

v3.6.2

Compare Source

Bug Fixes

v3.6.1

Compare Source

Bug Fixes
  • EventEmitter on method signatures to use spread syntax (#​2200) (5d21b81)

v3.6.0

Compare Source

Features

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 added the dependencies Pull requests that update a dependency file label Apr 14, 2024
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch 2 times, most recently from 163fdee to bae8e71 Compare April 16, 2024 10:19
@renovate renovate bot changed the title Update dependency mysql2 to v3.9.4 [SECURITY] Update dependency mysql2 [SECURITY] Apr 23, 2024
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from bae8e71 to d1d23e1 Compare April 23, 2024 22:44
@renovate renovate bot changed the title Update dependency mysql2 [SECURITY] Update dependency mysql2 to v3.9.7 [SECURITY] Apr 23, 2024
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from d1d23e1 to b41e722 Compare April 30, 2024 07:00
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from b41e722 to 280fb4e Compare May 8, 2024 05:54
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from 280fb4e to 9c1c6dd Compare May 31, 2024 17:38
@renovate renovate bot changed the title Update dependency mysql2 to v3.9.7 [SECURITY] Update dependency mysql2 to v3.9.8 [SECURITY] May 31, 2024
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from 9c1c6dd to aa9cd9e Compare June 17, 2024 13:21
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch 2 times, most recently from 5eae8d4 to 2cae316 Compare July 12, 2024 06:46
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from 2cae316 to 51576f7 Compare July 17, 2024 16:37
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from 51576f7 to d7273d5 Compare July 17, 2024 16:48
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from d7273d5 to 250b22f Compare July 17, 2024 16:54
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from 250b22f to 135cb63 Compare August 8, 2024 14:13
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from 135cb63 to afba1c3 Compare August 8, 2024 14:18
@renovate renovate bot force-pushed the renovate/npm-mysql2-vulnerability branch from afba1c3 to dd9af7f Compare August 8, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants