energywebfoundation / switchboard-dapp

Energy Web Switchboard UI
https://switchboard.energyweb.org
GNU General Public License v3.0
28 stars 14 forks source link

[Snyk] Fix for 2 vulnerabilities #895

Open JGiter opened 1 year ago

JGiter 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 :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **489/1000**
**Why?** Has a fix available, CVSS 5.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-SIDEWAYFORMULA-3317169](https://snyk.io/vuln/SNYK-JS-SIDEWAYFORMULA-3317169) | No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-WORDWRAP-3149973](https://snyk.io/vuln/SNYK-JS-WORDWRAP-3149973) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: @ew-did-registry/credentials-interface The new version differs by 25 commits.
  • 3a0cf66 v0.9.0
  • c36a44a Merge pull request #485 from energywebfoundation/development
  • c84582f Merge pull request #402 from energywebfoundation/renovate/dependencies
  • 59270c0 build(deps): update dependencies
  • 5067623 Merge pull request #483 from energywebfoundation/disable_lib_type_checks
  • 481e829 fix: skip lib types check
  • 3448cd8 Merge pull request #481 from energywebfoundation/snyk-upgrade-8b2206d1e1e6b83ea76f4664ed4a373a
  • 5af19f0 Merge pull request #482 from energywebfoundation/snyk-upgrade-2e6c1d307bb34fcc14b49cb77b584148
  • ec78312 fix: upgrade promise.allsettled from 1.0.5 to 1.0.6
  • 316456e Merge pull request #480 from energywebfoundation/fix_verifiable_credential_id_type
  • 0a53c4e fix: upgrade eciesjs from 0.3.16 to 0.3.17
  • 73f8f01 fix: make vc id required
  • 51ea998 Merge pull request #479 from energywebfoundation/snyk-upgrade-0ad3a9a7225edbc14c8bccd53a02b241
  • e5868b9 fix: upgrade @ types/lodash from 4.14.181 to 4.14.195
  • ec4e45e Merge pull request #478 from energywebfoundation/turnoff_tests_in_dev_ipfs_cluster
  • 1f07c46 fix: disable get from cluster by cid v1
  • 956b628 Merge pull request #476 from energywebfoundation/update_@sphereon/pex@2.0.1
  • f94b7fc build: increase test ipfs timeout
  • ebf49f9 build: update @ sphereon/pex@2.0.1
  • e46e2ed Merge pull request #473 from energywebfoundation/increase_timeout_from_cluster
  • 7a170cc ci: increase timeout get from cluster
  • 649fbdd Merge pull request #470 from energywebfoundation/snyk-upgrade-732ee9ec018e31367ae86fabd78ef5a0
  • 6e16a41 Merge pull request #472 from energywebfoundation/task/remove_cluster_specific_methods
  • 0b90bd1 feat(@ ew-did-registry/did-ipfs-store): remove cluster specific methods
See the full diff
Package name: iam-client-lib The new version differs by 4 commits.
  • 46aa201 chore(release): 8.0.0 [skip ci]
  • 7901347 Merge pull request #697 from energywebfoundation/develop
  • b32f281 Merge pull request #688 from energywebfoundation/renovate/dependencies
  • f40ae1b build(deps): update dependencies
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/iam-team-bca/project/a7d263b1-45ed-4f30-8f8f-d1b1940fe65f?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/iam-team-bca/project/a7d263b1-45ed-4f30-8f8f-d1b1940fe65f?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":"2d819cb0-1ec6-4d3b-9dba-a857acb290f1","prPublicId":"2d819cb0-1ec6-4d3b-9dba-a857acb290f1","dependencies":[{"name":"@ew-did-registry/credentials-interface","from":"0.8.1-alpha.1037.0","to":"0.9.0"},{"name":"iam-client-lib","from":"8.0.0-alpha.8","to":"8.0.0"}],"packageManager":"npm","projectPublicId":"a7d263b1-45ed-4f30-8f8f-d1b1940fe65f","projectUrl":"https://app.snyk.io/org/iam-team-bca/project/a7d263b1-45ed-4f30-8f8f-d1b1940fe65f?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-SIDEWAYFORMULA-3317169","SNYK-JS-WORDWRAP-3149973"],"upgrade":["SNYK-JS-SIDEWAYFORMULA-3317169","SNYK-JS-WORDWRAP-3149973"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[489,696],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr)
CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.