node-typescript-rest-boilerplate
node-typescript-rest-boilerplate copied to clipboard
Bump jsonwebtoken and passport-jwt
Bumps jsonwebtoken to 9.0.1 and updates ancestor dependency passport-jwt. These dependencies need to be updated together.
Updates jsonwebtoken from 8.5.1 to 9.0.1
Changelog
Sourced from jsonwebtoken's changelog.
9.0.1 - 2023-07-05
- fix(stubs): allow decode method to be stubbed
9.0.0 - 2022-12-21
Breaking changes: See Migration from v8 to v9
Breaking changes
- Removed support for Node versions 11 and below.
- The verify() function no longer accepts unsigned tokens by default. ([834503079514b72264fd13023a3b8d648afd6a16]https://github.com/auth0/node-jsonwebtoken/commit/834503079514b72264fd13023a3b8d648afd6a16)
- RSA key size must be 2048 bits or greater. ([ecdf6cc6073ea13a7e71df5fad043550f08d0fa6]https://github.com/auth0/node-jsonwebtoken/commit/ecdf6cc6073ea13a7e71df5fad043550f08d0fa6)
- Key types must be valid for the signing / verification algorithm
Security fixes
- security: fixes
Arbitrary File Write via verify function- CVE-2022-23529- security: fixes
Insecure default algorithm in jwt.verify() could lead to signature validation bypass- CVE-2022-23540- security: fixes
Insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC- CVE-2022-23541- security: fixes
Unrestricted key type could lead to legacy keys usage- CVE-2022-23539
Commits
84539b2Updating package version to 9.0.1 (#920)a99fd4bfix(stubs): allow decode method to be stubbed (#876)e1fa9dcMerge pull request from GHSA-8cf7-32gw-wr335eaedbfchore(ci): remove github test actions job (#861)cd4163echore(ci): configure Github Actions jobs for Tests & Security Scanning (#856)ecdf6ccfix!: Prevent accidental use of insecure key sizes & misconfiguration of secr...8345030fix(sign&verify)!: Remove defaultnonesupport fromsignandverifymet...7e6a86bUpload OpsLevel YAML (#849)74d5719docs: update references vercel/ms references (#770)d71e383docs: document "invalid token" error- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by jake.lacey, a new releaser for jsonwebtoken since your current version.
Updates passport-jwt from 4.0.0 to 4.0.1
Commits
fed94fa4.0.1 releasecfb5566Merge pull request #248 from mikenicholson/update-minmatch8e4ad5bAddress minmatch vulnerabilitye9cf2ceMerge pull request #247 from mikenicholson/jsonwebtoken-9bfbc6ccUpdate jsonwebtoken to 9.0.0a49b43eUpdate minimist due to prototype pollution vulnerability in previous versiona5137c6Merge pull request #192 from markhoney/patch-1ea824cdUpdate jsonwebtoken and run npm audit fix8e57eecRemove older node versions shiping npm without support for "ci"3ab9305Add CI workflow in GitHub Actions- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.