typescript-rest-api-backend icon indicating copy to clipboard operation
typescript-rest-api-backend copied to clipboard

[Snyk] Security upgrade mysql2 from 3.5.1 to 3.9.7

Open giuseppealbrizio opened this issue 2 months ago • 0 comments

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.

:sparkles: Snyk has automatically assigned this pull request, set who gets assigned.

As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.

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
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 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

👩‍💻 Set who automatically gets assigned

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Arbitrary Code Injection

giuseppealbrizio avatar Apr 22 '24 17:04 giuseppealbrizio