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] Upgrade mysql2 from 3.6.2 to 3.9.7 #8

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

Conversation

abjerry97
Copy link
Owner

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


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade mysql2 from 3.6.2 to 3.9.7.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 14 versions ahead of your current version.

  • The recommended version was released on 2 months ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Prototype Poisoning
SNYK-JS-MYSQL2-6591084
646 Proof of Concept
critical severity Remote Code Execution (RCE)
SNYK-JS-MYSQL2-6591085
646 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-MYSQL2-6591300
646 Proof of Concept
critical severity Arbitrary Code Injection
SNYK-JS-MYSQL2-6670046
646 Proof of Concept
Release notes
Package name: mysql2
  • 3.9.7 - 2024-04-21

    3.9.7 (2024-04-21)

    Bug Fixes

    • security: sanitize timezone parameter value to prevent code injection - report by zhaoyudi (Nebulalab) (#2608) (7d4b098)
  • 3.9.6 - 2024-04-18

    3.9.6 (2024-04-18)

    Bug Fixes

    • binary parser sometimes reads out of packet bounds when results contain null and typecast is false (#2601) (705835d)
  • 3.9.5 - 2024-04-17

    3.9.5 (2024-04-17)

    Bug Fixes

    • revert breaking change in results creation (#2591) (f7c60d0)
  • 3.9.4 - 2024-04-09

    3.9.4 (2024-04-09)

    Bug Fixes

    • SSL: separate each certificate into an individual item #2542 (63f1055)
    • security: improve supportBigNumbers and bigNumberStrings sanitization (#2572) (74abf9e)
      • Fixes a potential RCE attack vulnerability reported by Vsevolod Kokorin (Slonser) of Solidlab
    • security: improve results object creation (#2574) (4a964a3)
      • Fixes a potential Prototype Pollution attack vulnerability reported by Vsevolod Kokorin (Slonser) of Solidlab
    • docs: improve the contribution guidelines (#2552) (8a818ce)
  • 3.9.3 - 2024-03-26

    3.9.3 (2024-03-26)

    Bug Fixes

    • security: improve cache key formation (#2424) (0d54b0c)
      • Fixes a potential parser cache poisoning attack vulnerability reported by Vsevolod Kokorin (Slonser) of Solidlab
    • update Amazon RDS SSL CA cert (#2131) (d9dccfd)
  • 3.9.2 - 2024-02-26

    3.9.2 (2024-02-26)

    Bug Fixes

  • 3.9.1 - 2024-01-29

    3.9.1 (2024-01-29)

    Bug Fixes

    • types: support encoding for string type cast (#2407) (1dc2011)
  • 3.9.0 - 2024-01-26

    3.9.0 (2024-01-26)

    Features

  • 3.8.0 - 2024-01-23

    3.8.0 (2024-01-23)

    Features

    Bug Fixes

    • stream: premature close when using for await (#2389) (af47148)
    • types: add missing types to TypeCast (#2390) (78ce495)
    • removeIdleTimeoutConnectionsTimer isn't cleared on pool close (#2384) (18a44f6)
  • 3.7.1 - 2024-01-17

    3.7.1 (2024-01-17)

    Bug Fixes

    • add condition which allows code in callback to be reachable (#2376) (8d5b903)
  • 3.7.0 - 2024-01-07
  • 3.6.5 - 2023-11-22
  • 3.6.4 - 2023-11-21
  • 3.6.3 - 2023-11-03
  • 3.6.2 - 2023-10-15
from mysql2 GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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

For more information:

Snyk has created this PR to upgrade mysql2 from 3.6.2 to 3.9.7.

See this package in npm:
mysql2

See this project in Snyk:
https://app.snyk.io/org/abjerry97/project/b0fa927a-795b-4045-a44f-1008cf663b92?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

codecov bot commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (08d37b9) to head (a637e3b).

Additional details and impacted files
@@          Coverage Diff          @@
##            main      #8   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         30      30           
  Lines        369     369           
  Branches      16      16           
=====================================
+ Misses       368     357   -11     
- Partials       1      12   +11     
Flag Coverage Δ
smart-tests 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

2 participants