Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jsonwebtoken, firebase-admin and firebase-functions in /functions #137

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 10, 2023

Bumps jsonwebtoken to 9.0.0 and updates ancestor dependencies jsonwebtoken, firebase-admin and firebase-functions. 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]auth0/node-jsonwebtoken@8345030)
  • RSA key size must be 2048 bits or greater. ([ecdf6cc6073ea13a7e71df5fad043550f08d0fa6]auth0/node-jsonwebtoken@ecdf6cc)
  • 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
  • e1fa9dc Merge pull request from GHSA-8cf7-32gw-wr33
  • 5eaedbf chore(ci): remove github test actions job (#861)
  • cd4163e chore(ci): configure Github Actions jobs for Tests & Security Scanning (#856)
  • ecdf6cc fix!: Prevent accidental use of insecure key sizes & misconfiguration of secr...
  • 8345030 fix(sign&verify)!: Remove default none support from sign and verify met...
  • 7e6a86b Upload OpsLevel YAML (#849)
  • 74d5719 docs: update references vercel/ms references (#770)
  • d71e383 docs: document "invalid token" error
  • 3765003 docs: fix spelling in README.md: Peak -> Peek (#754)
  • a46097e docs: 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 firebase-admin from 10.0.0 to 11.8.0

Release notes

Sourced from firebase-admin's releases.

Firebase Admin Node.js SDK v11.8.0

New Features

  • feat(appcheck): Added replay protection feature to App Check verifyToken() API (#2148)

Miscellaneous

  • [chore] Release 11.8.0 (#2175)
  • build(deps-dev): bump @​firebase/auth-compat from 0.3.7 to 0.4.1 (#2173)
  • build(deps): bump @​types/node from 18.16.1 to 18.16.3 (#2172)
  • build(deps-dev): bump @​typescript-eslint/parser from 5.59.0 to 5.59.2 (#2171)
  • build(deps): bump @​types/node from 18.15.11 to 18.16.1 (#2166)
  • build(deps-dev): bump eslint from 8.38.0 to 8.39.0 (#2160)
  • build(deps-dev): bump sinon from 15.0.3 to 15.0.4 (#2162)

Firebase Admin Node.js SDK v11.7.0

New Features

  • feat(auth): reCAPTCHA Public preview (#2129)
  • feat(fcm): Add sendEach and sendEachForMulticast for FCM batch send (#2138)

Miscellaneous

  • [chore] Release 11.7.0 (#2158)
  • build(deps-dev): bump @​types/sinon from 10.0.13 to 10.0.14 (#2157)
  • build(deps-dev): bump @​types/lodash from 4.14.192 to 4.14.194 (#2156)
  • build(deps-dev): bump @​typescript-eslint/parser from 5.58.0 to 5.59.0 (#2154)
  • chore: Upgrade dependencies (#2147)

Firebase Admin Node.js SDK v11.6.0

New Features

  • feat(auth): Add TOTP support in Project and Tenant config (#1989)

Changed

  • Deprecate sendToDevice and sendToDeviceGroup and their response classes (#2090)

Miscellaneous

  • [chore] Release 11.6.0 (#2139)
  • chore: update app check integration tests (#2140)
  • build(deps-dev): bump @​typescript-eslint/eslint-plugin (#2134)
  • build(deps-dev): bump @​firebase/auth-compat from 0.3.5 to 0.3.7 (#2133)
  • build(deps-dev): bump @​typescript-eslint/parser from 5.56.0 to 5.57.1 (#2135)
  • build(deps): bump @​google-cloud/storage from 6.9.4 to 6.9.5 (#2136)
  • build(deps-dev): bump sinon from 15.0.2 to 15.0.3 (#2126)
  • build(deps): bump @​firebase/database-compat from 0.3.1 to 0.3.4 (#2125)
  • build(deps): bump @​types/node from 18.15.5 to 18.15.10 (#2123)
  • build(deps-dev): bump eslint from 8.35.0 to 8.36.0 (#2124)

... (truncated)

Commits
  • 09c9ef6 [chore] Release 11.8.0 (#2175)
  • 966f2fd build(deps-dev): bump @​firebase/auth-compat from 0.3.7 to 0.4.1 (#2173)
  • 7b27cc0 build(deps): bump @​types/node from 18.16.1 to 18.16.3 (#2172)
  • 5631e24 build(deps-dev): bump @​typescript-eslint/parser from 5.59.0 to 5.59.2 (#2171)
  • a43df9e feat(appcheck): Added replay protection feature to App Check verifyToken() ...
  • 125c5bf build(deps): bump @​types/node from 18.15.11 to 18.16.1 (#2166)
  • d6e6286 build(deps-dev): bump eslint from 8.38.0 to 8.39.0 (#2160)
  • bbcd8bd build(deps-dev): bump sinon from 15.0.3 to 15.0.4 (#2162)
  • 06e259a [chore] Release 11.7.0 (#2158)
  • faeba45 build(deps-dev): bump @​types/sinon from 10.0.13 to 10.0.14 (#2157)
  • Additional commits viewable in compare view

Updates firebase-functions from 3.16.0 to 3.24.1

Release notes

Sourced from firebase-functions's releases.

v3.24.1

  • Fix reference docs for performance monitoring.
  • Fix bug where function configuration wil null values couldn't be deployed. (#1246)

v3.24.0

  • Add performance monitoring triggers to v2 alerts (#1223).

v3.23.0

  • Fixes a bug that disallowed setting customClaims and/or sessionClaims in blocking functions (#1199).
  • Add v2 Schedule Triggers (#1177).

v3.22.0

  • Adds RTDB Triggers for v2 functions (#1127)
  • Adds support for Firebase Admin SDK v11 (#1151)
  • Fixes bug where emulated task queue function required auth header (#1154)

v3.21.2

  • Fixes bug where toJSON was not defined in UserRecord (#1125).

v3.21.1

  • Add debug feature to enable cors option for v2 onRequest and onCall handlers. (#1099)

v3.21.0

  • Adds CPU option and enhances internal data structures (#1077)
  • Add auth blocking handlers (#1080)
  • Add support for secrets in v2 (#1079)
  • Update types for AlertPayloads (#1087)
  • Update AppDistribution [@type] (#1088)
  • Update CloudEvent types (#1089)
  • Generate documentation with api-extractor (#1071)
  • Change type info to be inheritance friendly. (#1091)
  • Changes the memory options from MB to MiB and GB to GiB for greater clarity (#1090)

v3.20.1

  • Improve authorization for tasks. (#1073)

v3.20.0

  • Changes internal structure to be more flexible (#1070).

v3.19.0

  • Add support for more regions and memory for v2 functions (#1037).
  • Fixes bug where some RTDB instance names were incorrectly parsed (#1056).

v3.18.1

  • Expose stack YAML via __/functions.yaml endpoint instead (#1036).

v3.18.0

  • Add new runtime option for setting secrets.

v3.17.2

... (truncated)

Commits
  • e4bda7d 3.24.1
  • 3c5392d Hide documentation for in-app feedback (#1245)
  • cc6e28e Fix bug where function configuration with null couldn't be deployed. (#1246)
  • cf27ac6 Adding required --project flag to v2 docgen script. (#1239)
  • 1ac04ad fix tsdoc comments (#1240)
  • bd0fcbc [firebase-release] Removed change log and reset repo after 3.24.0 release
  • e191af7 3.24.0
  • b93e397 Don't delete fields on a non-breaking change release (#1238)
  • 65e66a2 Converting alert type and app id to camel case in the CloudEvent (#1236)
  • c18e832 Adds performance monitoring triggers to v2 alerts (#1223)
  • 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will 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.

Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) to 9.0.0 and updates ancestor dependencies [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken), [firebase-admin](https://github.com/firebase/firebase-admin-node) and [firebase-functions](https://github.com/firebase/firebase-functions). These dependencies need to be updated together.


Updates `jsonwebtoken` from 8.5.1 to 9.0.0
- [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md)
- [Commits](auth0/node-jsonwebtoken@v8.5.1...v9.0.0)

Updates `firebase-admin` from 10.0.0 to 11.8.0
- [Release notes](https://github.com/firebase/firebase-admin-node/releases)
- [Commits](firebase/firebase-admin-node@v10.0.0...v11.8.0)

Updates `firebase-functions` from 3.16.0 to 3.24.1
- [Release notes](https://github.com/firebase/firebase-functions/releases)
- [Changelog](https://github.com/firebase/firebase-functions/blob/master/tsconfig.release.json)
- [Commits](firebase/firebase-functions@v3.16.0...v3.24.1)

---
updated-dependencies:
- dependency-name: jsonwebtoken
  dependency-type: indirect
- dependency-name: firebase-admin
  dependency-type: direct:production
- dependency-name: firebase-functions
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from aravindvnair99 as a code owner May 10, 2023 19:56
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 10, 2023
@guardrails
Copy link

guardrails bot commented May 10, 2023

⚠️ We detected 8 security issues in this pull request:

Vulnerable Libraries (8)
Severity Details
Medium bootstrap@3.3.5 upgrade to: >3.4.0
Medium jquery@1.11.3 upgrade to: >3.5.0
Critical ejs@3.1.6 upgrade to: >=3.1.7
High minimatch@3.0.4 (t) upgrade to: >=3.0.5
Medium pkg:npm/firebase-admin@11.8.0@1.2.3 (t) - no patch available
High pkg:npm/express@4.18.2@4.18.2 (t) - no patch available
High pkg:npm/firebase-functions@3.24.1@4.18.2 (t) - no patch available
High pkg:npm/ejs@3.1.6@10.8.2 (t) - no patch available

More info on how to fix Vulnerable Libraries in JavaScript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant