bigcommerce / sample-app-nodejs

A reference implementation of a BigCommerce single-click app, in Node.JS + Next.js/React
MIT License
59 stars 340 forks source link

[Snyk] Security upgrade mysql2 from 3.9.4 to 3.9.7 #224

Open bcsnyk opened 6 months ago

bcsnyk commented 6 months ago

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](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "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](https://snyk.io/vuln/SNYK-JS-MYSQL2-6670046) | No | 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 18 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)
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](https://app.snyk.io/org/bigcommerce/project/e8181de3-35cc-43e7-a8e2-368c6a93c24a?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/bigcommerce/project/e8181de3-35cc-43e7-a8e2-368c6a93c24a?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"b95da8f9-f728-4e30-9fc6-ce3d57eaeb00","prPublicId":"b95da8f9-f728-4e30-9fc6-ce3d57eaeb00","dependencies":[{"name":"mysql2","from":"3.9.4","to":"3.9.7"}],"packageManager":"npm","projectPublicId":"e8181de3-35cc-43e7-a8e2-368c6a93c24a","projectUrl":"https://app.snyk.io/org/bigcommerce/project/e8181de3-35cc-43e7-a8e2-368c6a93c24a?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-MYSQL2-6670046"],"upgrade":["SNYK-JS-MYSQL2-6670046"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[883],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Arbitrary Code Injection](https://learn.snyk.io/lesson/malicious-code-injection/?loc=fix-pr)