Bump jsonwebtoken, @nestjs/jwt and passport-jwt in /nestjs-step
Bumps jsonwebtoken to 9.0.0 and updates ancestor dependencies jsonwebtoken, @nestjs/jwt and passport-jwt. These dependencies need to be updated together.
Updates jsonwebtoken from 8.4.0 to 9.0.0
Changelog
Sourced from jsonwebtoken's changelog.
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-235398.5.1 - 2019-03-18
Bug fix
- fix: ensure correct PS signing and verification (#585) (e5874ae428ffc0465e6bd4e660f89f78b56a74a6), closes #585
Docs
- README: fix markdown for algorithms table (84e03ef70f9c44a3aef95a1dc122c8238854f683)
8.5.0 - 2019-02-20
New Functionality
- feat: add PS JWA support for applicable node versions (#573) (eefb9d9c6eec54718fa6e41306bda84788df7bec), closes #573
- Add complete option in jwt.verify (#522) (8737789dd330cf9e7870f4df97fd52479adbac22), closes #522
Test Improvements
- Add tests for private claims in the payload (#555) (5147852896755dc1291825e2e40556f964411fb2), closes #555
- Force use_strict during testing (#577) (7b60c127ceade36c33ff33be066e435802001c94), closes #577
- Refactor tests related to jti and jwtid (#544) (7eebbc75ab89e01af5dacf2aae90fe05a13a1454), closes #544
- ci: remove nsp from tests (#569) (da8f55c3c7b4dd0bfc07a2df228500fdd050242a), closes #569
Docs
- Fix 'cert' token which isn't a cert (#554) (0c24fe68cd2866cea6322016bf993cd897fefc98), closes #554
Commits
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" error3765003docs: fix spelling in README.md: Peak -> Peek (#754)a46097edocs: make decode impossible to discover before verify- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by julien.wollscheid, a new releaser for jsonwebtoken since your current version.
Updates @nestjs/jwt from 6.1.1 to 10.0.1
Release notes
Sourced from @nestjs/jwt's releases.
Release 10.0.1
- chore(husky): change npx --no to --no-install (7218087)
- Merge pull request #1144 from nestjs/renovate/typescript-eslint-monorepo (0274acc)
- Merge pull request #1150 from nestjs/renovate/prettier-2.x (c6bbf14)
- chore(deps): update typescript-eslint monorepo to v5.47.1 (414aea3)
- chore(deps): update dependency prettier to v2.8.1 (44fd45a)
- Merge pull request #1149 from nestjs/renovate/commitlint-monorepo (d8ed56a)
- Merge pull request #1057 from nestjs/renovate/jsonwebtoken-8.x (74a21f9)
- Merge pull request #1159 from nestjs/renovate/release-it-15.x (f367329)
- chore(deps): update dependency release-it to v15.5.1 (b3f4fc7)
- chore(deps): update commitlint monorepo to v17.3.0 (15ad133)
- fix(deps): update dependency
@types/jsonwebtokento v8.5.9 (d14521f)- Merge pull request #1158 from nestjs/renovate/node-18.x (cc04cce)
- chore(deps): update dependency
@types/nodeto v18.11.18 (3ebfaf0)- Merge pull request #1146 from nestjs/renovate/typescript-4.x (a14a3be)
- chore(deps): update dependency typescript to v4.9.4 (df59940)
- Merge pull request #1157 from nestjs/dependabot/npm_and_yarn/minimatch-3.1.2 (e5661b9)
- Merge pull request #1151 from nestjs/renovate/lint-staged-13.x (8d74976)
- Merge pull request #1148 from nestjs/renovate/eslint-8.x (76b0ee3)
- chore(deps): bump minimatch from 3.0.4 to 3.1.2 (f3dd100)
- chore(deps): update dependency lint-staged to v13.1.0 (7b3319a)
- Merge pull request #1145 from nestjs/renovate/jest-monorepo (a97c753)
- Merge pull request #1155 from nestjs/renovate/npm-jsonwebtoken-vulnerability (73a7440)
- chore(deps): update dependency eslint to v8.30.0 (8a6a459)
- chore(deps): update dependency
@types/jestto v29.2.4 (20c2366)- chore(deps): update dependency jsonwebtoken to 9.0.0 [security] (98a4464)
- chore: use npm v8 (27d843c)
- chore(deps): update dependency jest to v29.3.1 (ef435fb)
- chore(deps): update dependency husky to v8.0.2 (9582491)
- chore(deps): update dependency jest to v29.3.0 (52fef84)
- chore(deps): update typescript-eslint monorepo to v5.42.1 (e2d47cc)
- chore(deps): update nest monorepo to v9.2.0 (fcb7300)
- chore(deps): update dependency eslint to v8.27.0 (8d99cb8)
- chore(deps): update dependency
@types/jestto v29.2.2 (8094086)- chore(deps): update dependency
@types/nodeto v18.11.9 (f36d84b)- chore(deps): update dependency
@types/jestto v29.2.1 (c15602f)- chore(deps): update typescript-eslint monorepo to v5.42.0 (ca2de19)
- chore(deps): update commitlint monorepo to v17.2.0 (a5ed87c)
- chore(deps): update dependency
@types/nodeto v18.11.8 (78834c9)- chore(deps): update dependency
@types/nodeto v18.11.7 (3a6ce6f)- chore(deps): update dependency
@types/nodeto v18.11.6 (8235062)- chore(deps): update dependency
@types/nodeto v18 (697649c)- chore(deps): update typescript-eslint monorepo to v5.41.0 (a168713)
- chore(deps): update dependency jest to v29.2.2 (44181e6)
- chore(deps): update nest monorepo to v9.1.6 (79a5f32)
- chore(deps): update dependency
@types/nodeto v16.18.0 (167b84f)- chore(deps): update dependency eslint to v8.26.0 (76af6b2)
- chore(deps): update nest monorepo to v9.1.5 (ab124c9)
- chore(deps): update dependency
@types/nodeto v16.11.68 (5cc2ce3)- chore(deps): update dependency jest to v29.2.1 (41bdc6a)
... (truncated)
Commits
- See full diff in compare view
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) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.