Zooz / predator

A powerful open-source platform for load testing APIs.
https://zooz.github.io/predator/
Apache License 2.0
576 stars 109 forks source link

[Snyk] Security upgrade mysql2 from 2.2.5 to 3.9.7 #668

Closed NivLipetz closed 3 months ago

NivLipetz commented 7 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) | 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](https://app.snyk.io/org/nivlipetz/project/a48a4b5e-7e8f-4e90-bf88-baa2f1cfb293?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/nivlipetz/project/a48a4b5e-7e8f-4e90-bf88-baa2f1cfb293?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":"db5f0817-b9ef-4e4d-b16d-24f57b1eaa2b","prPublicId":"db5f0817-b9ef-4e4d-b16d-24f57b1eaa2b","dependencies":[{"name":"mysql2","from":"2.2.5","to":"3.9.7"}],"packageManager":"npm","projectPublicId":"a48a4b5e-7e8f-4e90-bf88-baa2f1cfb293","projectUrl":"https://app.snyk.io/org/nivlipetz/project/a48a4b5e-7e8f-4e90-bf88-baa2f1cfb293?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-MYSQL2-6670046"],"upgrade":["SNYK-JS-MYSQL2-6670046"],"isBreakingChange":true,"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)