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

[Snyk] Security upgrade mysql2 from 2.3.0 to 3.9.7 #113

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

Conversation

ruqqq
Copy link
Contributor

@ruqqq ruqqq commented Apr 23, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json
⚠️ Warning
Failed to update the package-lock.json, please update manually before merging.

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
critical severity 883/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 9.8
Arbitrary Code Injection
SNYK-JS-MYSQL2-6670046
Yes Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: mysql2 The new version differs by 250 commits.
  • 2d3cad8 chore(master): release 3.9.7 (#2609)
  • 7d4b098 fix(security): sanitize timezone parameter value to prevent code injection (#2608)
  • 2efd6ab build(deps): bump lucide-react from 0.371.0 to 0.372.0 in /website (#2606)
  • e3391ed build(deps): bump lucide-react from 0.368.0 to 0.371.0 in /website (#2604)
  • 4f58caa chore(master): release 3.9.6 (#2603)
  • 705835d fix: binary parser sometimes reads out of packet bounds when results contain null and typecast is false (#2601)
  • 2129818 chore(master): release 3.9.5 (#2600)
  • f7c60d0 fix: revert breaking change in results creation (#2591)
  • 7f5b395 build(deps-dev): bump @ typescript-eslint/eslint-plugin in /website (#2596)
  • a770052 build(deps-dev): bump @ typescript-eslint/parser in /website (#2595)
  • 6dccf55 build(deps): bump lucide-react from 0.367.0 to 0.368.0 in /website (#2590)
  • 9190db9 build(deps): bump sass from 1.74.1 to 1.75.0 in /website (#2589)
  • 00f483f build(deps-dev): bump typescript from 5.4.4 to 5.4.5 (#2587)
  • c95d661 build(deps-dev): bump typescript from 5.4.3 to 5.4.5 in /website (#2586)
  • b72cac3 build(deps): bump lucide-react from 0.364.0 to 0.367.0 in /website (#2583)
  • c45fb6f build(deps-dev): bump @ types/node from 20.12.4 to 20.12.7 (#2582)
  • 407b9eb build(deps-dev): bump @ typescript-eslint/parser in /website (#2579)
  • ad7de60 build(deps-dev): bump @ typescript-eslint/eslint-plugin in /website (#2578)
  • cf3fa60 chore(master): release 3.9.4 (#2566)
  • 4a964a3 fix(security): improve results object creation (#2574)
  • 71115d8 ci: improve parser tests (#2573)
  • 74abf9e fix(security): improve supportBigNumbers and bigNumberStrings sanitization (#2572)
  • 8a818ce fix(docs): improve the contribution guidelines (#2552)
  • 0f08c7c build(deps-dev): bump @ docusaurus/tsconfig in /website (#2563)

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Arbitrary Code Injection

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-MYSQL2-6670046
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.19%. Comparing base (63c5b70) to head (be34178).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #113   +/-   ##
=======================================
  Coverage   92.19%   92.19%           
=======================================
  Files          13       13           
  Lines         589      589           
  Branches      112      112           
=======================================
  Hits          543      543           
  Misses         46       46           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

3 participants