auth0-authorization-extension icon indicating copy to clipboard operation
auth0-authorization-extension copied to clipboard

[Snyk] Security upgrade hapi-auth-jwt2 from 7.0.1 to 10.4.0

Open crew-security opened this issue 3 years ago • 0 comments

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
high severity 671/1000
Why? Recently disclosed, Has a fix available, CVSS 7.7
Improper Input Validation
SNYK-JS-JSONWEBTOKEN-3180020
Yes No Known Exploit
critical severity 776/1000
Why? Recently disclosed, Has a fix available, CVSS 9.8
Improper Authentication
SNYK-JS-JSONWEBTOKEN-3180022
Yes No Known Exploit
medium severity 611/1000
Why? Recently disclosed, Has a fix available, CVSS 6.5
Improper Restriction of Security Token Assignment
SNYK-JS-JSONWEBTOKEN-3180024
Yes No Known Exploit
medium severity 626/1000
Why? Recently disclosed, Has a fix available, CVSS 6.8
Use of a Broken or Risky Cryptographic Algorithm
SNYK-JS-JSONWEBTOKEN-3180026
Yes No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: hapi-auth-jwt2 The new version differs by 250 commits.
  • 308ea43 Update version of jsonwebtoken to avoid potential security issues https://github.com/dwyl/hapi-auth-jwt2/pull/375
  • dc35688 Update version of jsonwebtoken to avoid potential security issues https://github.com/dwyl/hapi-auth-jwt2/pull/375
  • 160d0d6 manually revert version so npm can handle update #375
  • 2a026ae rename "master" to "main" https://www.bbc.com/news/technology-53050955
  • 1baa513 add "run: npm run lint" to ci.yml to run eslint on GitHub Actions/CI to avoid lint issues in future ...
  • 42087c8 re-enable "run: npm ci" in ci.yml (duh!)
  • 94f9d5a replace "function" with "=>" (arrow functions) to keep prettier happy https://github.com/dwyl/hapi-auth-jwt2/pull/375#issuecomment-1371859575 https://youtu.be/dyihQtBes1I?t=70
  • 9796ba6 update version of eslint & prettier https://github.com/dwyl/hapi-auth-jwt2/pull/375#issuecomment-1371849302
  • 2d12ed3 Merge branch 'v10.3.0' of github.com:dwyl/hapi-auth-jwt2 into v10.3.0
  • e105d37 github being very unhelpful right now ... 🤦
  • 00d7061 remove .travis.yml https://github.com/dwyl/learn-travis/issues/67
  • 50c5e31 Merge branch 'master' into v10.3.0
  • a32773d remove deps badges from README.md as 404 #375
  • a025767 add jsonwebtoken update to CHANGELOG.md #373 #374 #375
  • d5e8a84 comment out "- run: npm ci" in .github/workflows/ci.yml as Missing script: "ci" ...
  • 8889df1 create .github for CI + @ dependabot 🤖
  • 4cd3cae explicitly add package-lock.json to Git for tracking/transparency
  • 2357b17 attempt upgrade to @ hapi/hapi v21.1.0 in devDependencies
  • 0cf2b34 Merge pull request #374 from AntoineAA/update-jwt
  • 5a45986 update jsonwebtoken dependency
  • 379bc10 Merge pull request #362 from brick9527/translate/zh-CN
  • 62ae86b Merge pull request #371 from Arhell/upd
  • db9ca6a update hapijs links
  • b344229 Merge pull request #369 from Arhell/upd

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

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Use of a Broken or Risky Cryptographic Algorithm

crew-security avatar Jan 06 '23 05:01 crew-security