intuit / oauth-jsclient

Intuit's NodeJS OAuth client provides a set of methods to make it easier to work with OAuth2.0 and Open ID
https://developer.intuit.com/
Apache License 2.0
123 stars 159 forks source link

[Snyk] Security upgrade intuit-oauth from 3.0.2 to 4.1.0 #159

Closed abisalehalliprasan closed 6 months ago

abisalehalliprasan commented 6 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: - sample/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") | **534/1000**
**Why?** Has a fix available, CVSS 6.4 | Improper Authentication
[SNYK-JS-JSONWEBTOKEN-3180022](https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180022) | Yes | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **539/1000**
**Why?** Has a fix available, CVSS 6.5 | Improper Restriction of Security Token Assignment
[SNYK-JS-JSONWEBTOKEN-3180024](https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180024) | Yes | No Known Exploit ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **554/1000**
**Why?** Has a fix available, CVSS 6.8 | Use of a Broken or Risky Cryptographic Algorithm
[SNYK-JS-JSONWEBTOKEN-3180026](https://snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180026) | Yes | No Known Exploit ![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 (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: intuit-oauth The new version differs by 15 commits.
  • 47628bd updated release version to 4.1.0
  • 66dc6c7 Merge pull request #157 from intuit/release-4.1.0
  • 74b65ab Merge branch 'master' into release-4.1.0
  • 1e71150 Merge pull request #150 from benflap/dependency-compile-issue
  • 0e502d0 updated ver of popscicle pkg to 12.1.2 -- removed vulnerabilities as suggested by npm audit report
  • f123f5b migrate rest of the request to axios
  • d720400 get createToken() to work with axois
  • 65290fc fix: createToken requests
  • 606f826 Merge pull request #149 from pragati0909/dependency-compile-issue
  • bf09b38 Resolved dependency issue || Axios Introduced
  • 211092e Merge pull request #147 from intuit/hotfix-4.0.1
  • 2037c58 npm audit fixes
  • 7689a66 Update README with redirectUri note (#117)
  • 02e940b Release 4.0.0 (#114)
  • 8f05c1d Update CHANGELOG.md (#95)
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/abisalehalliprasan/project/a8ee30d6-ba26-407c-bf9b-cd50a7424429?utm_source=github&utm_medium=referral&page=fix-pr) πŸ›  [Adjust project settings](https://app.snyk.io/org/abisalehalliprasan/project/a8ee30d6-ba26-407c-bf9b-cd50a7424429?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":"0d5d63e6-b269-47e1-8370-a31fbcf3ec3a","prPublicId":"0d5d63e6-b269-47e1-8370-a31fbcf3ec3a","dependencies":[{"name":"intuit-oauth","from":"3.0.2","to":"4.1.0"}],"packageManager":"npm","projectPublicId":"a8ee30d6-ba26-407c-bf9b-cd50a7424429","projectUrl":"https://app.snyk.io/org/abisalehalliprasan/project/a8ee30d6-ba26-407c-bf9b-cd50a7424429?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-JSONWEBTOKEN-3180022","SNYK-JS-JSONWEBTOKEN-3180024","SNYK-JS-JSONWEBTOKEN-3180026","SNYK-JS-TOUGHCOOKIE-5672873"],"upgrade":["SNYK-JS-JSONWEBTOKEN-3180022","SNYK-JS-JSONWEBTOKEN-3180024","SNYK-JS-JSONWEBTOKEN-3180026","SNYK-JS-TOUGHCOOKIE-5672873"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[534,539,554,646],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** πŸ¦‰ [Improper Authentication](https://learn.snyk.io/lesson/broken-access-control/?loc=fix-pr) πŸ¦‰ [Use of a Broken or Risky Cryptographic Algorithm](https://learn.snyk.io/lesson/insecure-hash/?loc=fix-pr) πŸ¦‰ [Prototype Pollution](https://learn.snyk.io/lesson/prototype-pollution/?loc=fix-pr)