devilesk / dota-ihl-bot

A Discord bot for hosting Dota 2 inhouse leagues.
https://devilesk.github.io/dota-ihl-bot/
ISC License
8 stars 8 forks source link

[Snyk] Security upgrade koa-passport from 4.1.3 to 5.0.0 #57

Open devilesk opened 2 years ago

devilesk commented 2 years 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.

![merge advice](https://app.snyk.io/badges/merge-advice/?package_manager=npm&package_name=koa-passport&from_version=4.1.3&to_version=5.0.0&pr_id=3ed8adc4-80ad-44c4-97e9-a7ce8276ef1f&visibility=true&has_feature_flag=false) #### 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 :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **526/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 4.8 | Session Fixation
[SNYK-JS-PASSPORT-2840631](https://snyk.io/vuln/SNYK-JS-PASSPORT-2840631) | Yes | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: koa-passport The new version differs by 13 commits.
  • 0608284 upgrade to passport 0.6.0
  • e2340e9 Merge pull request #159 from rkusa/dependabot/add-v2-config-file
  • 0ed8a96 Update .github/dependabot.yml
  • e8bcbbd Upgrade to GitHub-native Dependabot
  • 2e29683 bump version to 4.1.4
  • 52296ab upgrade dev dependencies
  • f2d4934 Merge pull request #157 from tommoor/patch-1
  • b20ee8e Move position of ip in block
  • 9050920 fix: Add missing "ip" to request proxy object
  • 7cc1f2c Merge pull request #131 from rkusa/dependabot/npm_and_yarn/supertest-tw-4.0.2
  • 19004aa Merge pull request #130 from rkusa/dependabot/npm_and_yarn/mocha-tw-6.1.4
  • 7bfa143 Update supertest requirement from ^3.3.0 to ^4.0.2
  • bef1353 Update mocha requirement from ^5.2.0 to ^6.1.4
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/devilesk/project/812ad627-ab2a-4566-97c8-baea299d18d5?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/devilesk/project/812ad627-ab2a-4566-97c8-baea299d18d5?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":"3ed8adc4-80ad-44c4-97e9-a7ce8276ef1f","prPublicId":"3ed8adc4-80ad-44c4-97e9-a7ce8276ef1f","dependencies":[{"name":"koa-passport","from":"4.1.3","to":"5.0.0"}],"packageManager":"npm","projectPublicId":"812ad627-ab2a-4566-97c8-baea299d18d5","projectUrl":"https://app.snyk.io/org/devilesk/project/812ad627-ab2a-4566-97c8-baea299d18d5?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-PASSPORT-2840631"],"upgrade":["SNYK-JS-PASSPORT-2840631"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore","merge-advice-badge-shown"],"priorityScoreList":[526]}) --- **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)