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

🚨 [security] Update mysql2 2.1.0 → 3.10.0 (major) #46

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

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented May 30, 2024


Welcome to Depfu 👋

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!



🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ mysql2 (2.1.0 → 3.10.0) · Repo · Changelog

Security Advisories 🚨

🚨 mysql2 vulnerable to Prototype Pollution

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.

🚨 MySQL2 for Node Arbitrary Code Injection

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.

🚨 mysql2 Remote Code Execution (RCE) via the readCodeFor function

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.

🚨 mysql2 cache poisoning vulnerability

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.

🚨 mysql2 vulnerable to Prototype Poisoning

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.

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ denque (indirect, 1.4.1 → 2.1.0) · Repo · Changelog

Release Notes

2.1.0 (from changelog)

  • fix: issue where clear() is still keeping references to the elements (#47)
  • refactor: performance optimizations for growth and array copy (#43)
  • refactor: performance optimizations for toArray and fromArray (#46)
  • test: add additional benchmarks for queue growth and toArray (#45)

2.0.1

2.0.1

2.0.0 (from changelog)

  • fix!: push & unshift now accept undefined values to match behaviour of Array (fixes #25) (#35)
    • This is only a BREAKING change if you are currently expecting push(undefined) and unshift(undefined) to do nothing - the new behaviour now correctly adds undefined values to the queue.
    • Note: behaviour of push() & unshift() (no arguments) remains unchanged (nothing gets added to the queue).
    • Note: If you need to differentiate between undefined values in the queue and the return value of pop() then check the queue .length before popping.
  • fix: incorrect methods in types definition file

1.5.1 (from changelog)

  • perf: minor performance tweak when growing queue size (#29)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 7 commits:

↗️ long (indirect, 4.0.0 → 5.2.3) · Repo

Release Notes

5.2.3

Bug fixes

  • Reorder module exports in package.json (#122) (cd84ddd)

5.2.2

Bug fixes

5.2.1

Bug fixes

  • Add types to exports in package.json (#111) (3cea40d)

5.2.0

New features

Other

  • Fix link to releases (93b06bd)
  • Add more build instructions (d30e39c)
  • Fix README formatting (9d90c0b)
  • Add various instructions (fca1fa0)
  • Indicate that isPositive includes zero, fixes #100 (d901220)

5.1.0

New features

5.0.1

Bug fixes

  • Always return matching signed/unsigned zeroes, fixes #72 (19ac17b)

Other

  • Move NaN/Infinity check below unsigned setup in fromString (bf68549)
  • Switch to daily releases (bd8e614)

5.0.0

Breaking changes

  • Switch to ESM / modernize (8641039)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 26 commits:

↗️ sqlstring (indirect, 2.3.1 → 2.3.3) · Repo · Changelog

Release Notes

2.3.3 (from changelog)

  • Fix escaping Date objects from foreign isolates

2.3.2 (from changelog)

  • perf: remove outdated array pattern

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 57 commits:

🗑️ ansicolors (removed)

🗑️ cardinal (removed)

🗑️ redeyed (removed)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants