shehackspurple / Pixi

The Pixi module is a MEAN Stack web app with wildly insecure APIs!
Apache License 2.0
0 stars 2 forks source link

[Snyk] Fix for 5 vulnerabilities #32

Open shehackspurple opened 9 months ago

shehackspurple commented 9 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: - api/package.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") | **646/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.5 | Server-side Request Forgery (SSRF)
[SNYK-JS-REQUEST-3361831](https://snyk.io/vuln/SNYK-JS-REQUEST-3361831) | Yes | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **646/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.5 | Prototype Pollution
[SNYK-JS-TOUGHCOOKIE-5672873](https://snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873) | Yes | Proof of Concept ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **596/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 5.5 | Arbitrary Code Injection
[SNYK-JS-UNDERSCORE-1080984](https://snyk.io/vuln/SNYK-JS-UNDERSCORE-1080984) | No | Proof of Concept ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **589/1000**
**Why?** Has a fix available, CVSS 7.5 | Prototype Pollution
[SNYK-JS-UNSETVALUE-2400660](https://snyk.io/vuln/SNYK-JS-UNSETVALUE-2400660) | Yes | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **636/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 6.3 | Prototype Pollution
[npm:hoek:20180212](https://snyk.io/vuln/npm:hoek:20180212) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: nodemon The new version differs by 7 commits.
  • 9a67f36 feat: update chokidar to v3
  • 6781b40 docs: add license file
  • 0e6ba3c fix: wait for all subprocesses to terminate (fixes issue #1476)
  • b58cf7d chore: Merge branch 'master'
  • 95a4c09 docs: add to faq
  • 3a2eaf7 choe: merge master
  • 3d90879 chore: add logo to site
See the full diff
Package name: passport-jwt The new version differs by 40 commits.
  • 8f543a9 Update version to 4.0.0
  • f381cea Updating migration guide for 4.0.0
  • 5497660 Update jsonwebtoken dependency to latest.
  • 685fffe Move supporters up a little higher in README
  • d2d950e Remove codesponsor.io link
  • 6d4b3fa Rev patch version for doc update
  • f39b87f Merge branch 'add-auth0-sponsor'
  • 3401015 Simplify "supported by" section
  • 5fc1cd8 Add sponsor link and put all migration docs in one file
  • cfb13c0 Add Codesponsor.io link
  • 28ffbb0 Update package version
  • cfa4db3 Merge branch 'pr108-secret-key-provider'
  • 3a07c77 Update docs for 2.x.x to 3.0.0 migration
  • d5af311 Get rid of JWT as the default auth scheme.
  • 80e049c Travis docs don't specifically mention v8
  • ef0cecd Add test to cover missed branch in strategy.
  • 1bb3d5b should be clear that jwt passed to secretOrKeyProvider is not decoded
  • a236e40 Cleanup of PR #108.
  • b3846ef Merge branch 'secret-key-provider' of https://github.com/gpoole/passport-jwt into pr108-secret-key-provider
  • 98a7a09 Merge branch 'pr-113-jwtOptions'
  • 4a7416c Merge branch 'master' of https://github.com/itayadler/passport-jwt into pr-113-jwtOptions
  • c1dccf8 Merge branch 'pr-118-case-insensitive-auth-scheme'
  • d127fd8 Calculate auth_scheme.toLowerCase() once
  • b1d7ccc Test for case insensitive comparison of token_type
See the full diff
Package name: swagger-jsdoc The new version differs by 3 commits.
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/shehackspurple/project/a9192673-700f-45f5-9437-71dee07a0c1d?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/shehackspurple/project/a9192673-700f-45f5-9437-71dee07a0c1d?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":"04271b15-31f9-4d67-a893-da488239b684","prPublicId":"04271b15-31f9-4d67-a893-da488239b684","dependencies":[{"name":"image-downloader","from":"3.6.0","to":"4.0.0"},{"name":"nodemon","from":"1.19.4","to":"2.0.0"},{"name":"passport-jwt","from":"2.2.1","to":"4.0.0"},{"name":"remarkable","from":"1.6.2","to":"1.7.4"},{"name":"swagger-jsdoc","from":"1.10.3","to":"3.0.0"}],"packageManager":"npm","projectPublicId":"a9192673-700f-45f5-9437-71dee07a0c1d","projectUrl":"https://app.snyk.io/org/shehackspurple/project/a9192673-700f-45f5-9437-71dee07a0c1d?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-REQUEST-3361831","SNYK-JS-TOUGHCOOKIE-5672873","SNYK-JS-UNDERSCORE-1080984","SNYK-JS-UNSETVALUE-2400660","npm:hoek:20180212"],"upgrade":["SNYK-JS-REQUEST-3361831","SNYK-JS-TOUGHCOOKIE-5672873","SNYK-JS-UNDERSCORE-1080984","SNYK-JS-UNSETVALUE-2400660","npm:hoek:20180212"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[646,646,596,589,636],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Server-side Request Forgery (SSRF)](https://learn.snyk.io/lesson/ssrf-server-side-request-forgery/?loc=fix-pr) 🦉 [Prototype Pollution](https://learn.snyk.io/lesson/prototype-pollution/?loc=fix-pr) 🦉 [Arbitrary Code Injection](https://learn.snyk.io/lesson/malicious-code-injection/?loc=fix-pr)
sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication