jeremybradbury / express4-https-bearer-token-mysql-api

Express 4.x HTTPS API app using Passport Bearer tokens with a MySQL backend.
https://jeremybradbury.github.io/express4-https-bearer-token-mysql-api/
The Unlicense
1 stars 0 forks source link

[Snyk] Security upgrade passport from 0.2.2 to 0.6.0 #21

Open jeremybradbury opened 2 years ago

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

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - 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") | **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) | No | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: passport The new version differs by 183 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/jeremybradbury/project/0d257c8b-adf0-4fce-a480-1de0d04c27f8?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/jeremybradbury/project/0d257c8b-adf0-4fce-a480-1de0d04c27f8?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":"3e8553a0-faa0-442a-b6b8-c2188ff3f08b","prPublicId":"3e8553a0-faa0-442a-b6b8-c2188ff3f08b","dependencies":[{"name":"passport","from":"0.2.2","to":"0.6.0"}],"packageManager":"npm","projectPublicId":"0d257c8b-adf0-4fce-a480-1de0d04c27f8","projectUrl":"https://app.snyk.io/org/jeremybradbury/project/0d257c8b-adf0-4fce-a480-1de0d04c27f8?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-PASSPORT-2840631"],"upgrade":["SNYK-JS-PASSPORT-2840631"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","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)