BiancoRoyal / node-red-contrib-modbus

maintained by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-modbus
BSD 3-Clause "New" or "Revised" License
278 stars 107 forks source link

[Snyk] Security upgrade vm2 from 3.9.15 to 3.9.18 #391

Closed biancode closed 9 months ago

biancode commented 1 year 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 - package-lock.json #### 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") | **811/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 9.8 | Sandbox Escape
[SNYK-JS-VM2-5422057](https://snyk.io/vuln/SNYK-JS-VM2-5422057) | No | Proof of Concept ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **704/1000**
**Why?** Has a fix available, CVSS 9.8 | Improper Handling of Exceptional Conditions
[SNYK-JS-VM2-5426093](https://snyk.io/vuln/SNYK-JS-VM2-5426093) | No | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **586/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.3 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
[SNYK-JS-VM2-5537079](https://snyk.io/vuln/SNYK-JS-VM2-5537079) | No | Proof of Concept ![critical severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/c.png "critical severity") | **811/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 9.8 | Sandbox Bypass
[SNYK-JS-VM2-5537100](https://snyk.io/vuln/SNYK-JS-VM2-5537100) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: vm2 The new version differs by 22 commits.
  • 2f446e5 Release 3.9.18
  • 587bb13 Add tests for past vulnerabilities
  • f5a129a Merge branch 'master' of https://github.com/patriksimek/vm2
  • dd81ff6 Merge pull request #519 from XmiliaH/resolver-api
  • af983a8 Merge remote-tracking branch 'upstream/master' into resolver-api
  • 5206ba2 Inspect method should be readonly
  • d88105f Ensure host array does not leak through proxy
  • 4d662e3 Merge pull request #521 from ulixee/pathContext
  • 1728bdf chore: simplify default function for path context
  • 7d16a56 Merge branch 'patriksimek:master' into pathContext
  • e085219 feat: default pathContext to sandbox
  • cbd42bc fix: alter test to verify module context
  • fb71483 fix: simplify api interface for pathContext
  • 1b8b855 fix: pass pathContext to DefaultResolver
  • 294ce23 feat: allow per-module choice for vm context
  • 4f63dc2 Release 3.9.17
  • f3db4de Handle host errors captured in Promises
  • 4b22e87 Ensure every catch block is protected
  • 7b4eeab Add tests
  • e5cfcdc Reduce resolver API and add docu
  • 9e2b605 Make resolver API public
  • 24c724d Release 3.9.16
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/biancode/project/ca3a6f1d-7eb7-46ca-9602-da5034e4f631?utm_source=github&utm_medium=referral&page=fix-pr) πŸ›  [Adjust project settings](https://app.snyk.io/org/biancode/project/ca3a6f1d-7eb7-46ca-9602-da5034e4f631?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":"e781755a-f797-4c89-b0c9-e74747655b31","prPublicId":"e781755a-f797-4c89-b0c9-e74747655b31","dependencies":[{"name":"vm2","from":"3.9.15","to":"3.9.18"}],"packageManager":"npm","projectPublicId":"ca3a6f1d-7eb7-46ca-9602-da5034e4f631","projectUrl":"https://app.snyk.io/org/biancode/project/ca3a6f1d-7eb7-46ca-9602-da5034e4f631?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-VM2-5422057","SNYK-JS-VM2-5426093","SNYK-JS-VM2-5537079","SNYK-JS-VM2-5537100"],"upgrade":["SNYK-JS-VM2-5422057","SNYK-JS-VM2-5426093","SNYK-JS-VM2-5537079","SNYK-JS-VM2-5537100"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[811,704,586,811],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** πŸ¦‰ [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr)
github-actions[bot] commented 1 year ago

Greet Contributors Bot
Thank you for taking your time and effort for your contribution, we truly value it. :tada:

The amazing contributor in this pull request is @snyk-bot