example-oidc
example-oidc copied to clipboard
Bump jsonwebtoken and express-jwt in /src/web.oauth2.resources.nodejs
Bumps jsonwebtoken to 9.0.0 and updates ancestor dependency express-jwt. These dependencies need to be updated together.
Updates jsonwebtoken from 8.5.1 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-23539
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 express-jwt from 6.0.0 to 8.2.0
Changelog
Sourced from express-jwt's changelog.
8.2.0 - 2022-12-22
- add an optional handler for expired tokens. closes #6048 (ca6c90ccbb4b61b91f417a5dfa56f0b931b81528), closes #6048
8.1.0 - 2022-12-22
- update type to match jwks-rsa (bcad8af9cad82b3777cc38d1c05864a35f82bc53)
- feat: export middleware options type. closes #308 (25a30f0d50c02cc75ab17b09f3592e76e09f9666), closes #308
8.0.0 - 2022-12-22
- Upgrade jsonwebtoken to v9. https://github.com/advisories/GHSA-27h2-hvpr-p74q .
7.7.3 - 2022-05-30
- Fix tsc build error for express-unless (e1fe1d264bc5363e008d23fea9d8c5d2ac0d8198)
- Remove esModuleInterop and fix assert import in tests (9ccf0cfd6aaa4cc61fce2f8ccdb961c4b0358201)
7.7.2 - 2022-05-19
- fix instaceof comparison for UnauthorizedError. closes #292 (6c87fe401ecba868feda1ffa530082c7c539321a), closes #292
- update changelog (b1344fa7f6f9dd3d27115a9107b3ef4323733895)
7.7.1 - 2022-05-13
- fix readme and package-lock (7a02ca76c5d7842cfa8b256dcc89dcef1ffbcdc1)
- build(deps): required runtime types (f3f5af5c214241b4f92b91c49db8586ec20e4526)
- docs: fix tiny typo (07e771857489b6344a8dc457069d040a76e84230)
7.7.0 - 2022-05-06
- deprecate ExpressJwtRequest in favor of Request with optional auth, closes #284 (de169def56f98f4237741aa6755d0c5e248bd561), closes #284
7.6.2 - 2022-05-02
- remove undefined from algorhitms fix #285 (587238bd0ad7a59f784daf9f626b9bf9abc7e029), closes #285
7.6.1 - 2022-05-02
- add note about
@types/jsonwebtokenin readme (03c8419d6fc78c9029a7b474d3aede7f94e80121)- make algorithms a required parameter in types. closes #285 (097a1df0d7ba511afce9578e4cf45bca2589b253), closes #285
- update changelog (9d0f02debb7a3db83edbc9f9b4b6d46993e6a4f4)
7.6.0 - 2022-05-02
- add ExpressJwtRequestUnrequired to the readme (3890f53f87b0a84dccaafd8de5a43d3c1dfeae89)
- add SecretCallback[Long] back for backward compatibility (c24078e285908cad1c2ac0e63482a75ebf7d7328)
- update changelog (d3a8e80dec3a6c261f840ad763487a16a47bbc4b)
7.5.2 - 2022-04-27
... (truncated)
Commits
4905b018.2.0ca6c90cadd an optional handler for expired tokens. closes #60484b8f1e6update changelogcf291b48.1.0bcad8afupdate type to match jwks-rsa25a30f0feat: export middleware options type. closes #308c69a0e4update changelog21579548.0.0d8ffa02upgrade jsonwebtoken to v9c555b48Merge pull request #306 from auth0/SRE-57-Upload-opslevel-yaml- 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.