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

[Snyk] Upgrade: gaxios, minimatch, glob, tmp, jsonwebtoken, , , probot, yargs, , , adm-zip, ajv, code-suggester, firebase-admin, follow-redirects, fs-extra, fsevents #489

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

Conversation

WontonSam
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯 The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Name Versions Released on

gaxios
from 5.0.1 to 5.1.3 | 6 versions ahead of your current version | a year ago
on 2023-07-05
minimatch
from 5.1.0 to 5.1.6 | 6 versions ahead of your current version | 2 years ago
on 2023-01-17
glob
from 8.0.3 to 8.1.0 | 1 version ahead of your current version | 2 years ago
on 2023-01-14
tmp
from 0.2.1 to 0.2.3 | 2 versions ahead of your current version | 7 months ago
on 2024-02-29
jsonwebtoken
from 9.0.0 to 9.0.2 | 2 versions ahead of your current version | a year ago
on 2023-08-30
@octokit/types
from 8.0.0 to 8.2.1 | 4 versions ahead of your current version | 2 years ago
on 2023-01-20
@octokit/rest
from 19.0.4 to 19.0.13 | 9 versions ahead of your current version | a year ago
on 2023-06-16
probot
from 12.2.8 to 12.4.0 | 7 versions ahead of your current version | 3 months ago
on 2024-06-03
yargs
from 17.5.1 to 17.7.2 | 6 versions ahead of your current version | a year ago
on 2023-04-27
@google-cloud/cloudbuild
from 3.8.0 to 3.10.0 | 2 versions ahead of your current version | a year ago
on 2023-07-24
@octokit/webhooks-types
from 6.3.6 to 6.11.0 | 8 versions ahead of your current version | a year ago
on 2023-04-07
adm-zip
from 0.5.9 to 0.5.15 | 6 versions ahead of your current version | a month ago
on 2024-08-05
ajv
from 8.11.0 to 8.17.1 | 8 versions ahead of your current version | 2 months ago
on 2024-07-12
code-suggester
from 4.1.0 to 4.3.3 | 6 versions ahead of your current version | a year ago
on 2023-07-11
firebase-admin
from 11.9.0 to 11.11.1 | 4 versions ahead of your current version | 10 months ago
on 2023-11-23
follow-redirects
from 1.15.2 to 1.15.6 | 4 versions ahead of your current version | 6 months ago
on 2024-03-14
fs-extra
from 11.1.0 to 11.2.0 | 2 versions ahead of your current version | 10 months ago
on 2023-11-28
fsevents
from 2.3.2 to 2.3.3 | 1 version ahead of your current version | a year ago
on 2023-08-21

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Improper Input Validation
SNYK-JS-FOLLOWREDIRECTS-6141137
686 Proof of Concept
high severity Improper Handling of Exceptional Conditions
SNYK-JS-PROBOT-6129524
686 No Known Exploit
high severity Improper Handling of Exceptional Conditions
SNYK-JS-OCTOKITWEBHOOKS-6129527
686 No Known Exploit
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
686 Proof of Concept
Release notes
Package name: gaxios from gaxios GitHub release notes
Package name: minimatch from minimatch GitHub release notes
Package name: glob from glob GitHub release notes
Package name: tmp from tmp GitHub release notes
Package name: jsonwebtoken
  • 9.0.2 - 2023-08-30

    Release 9.0.2 (#935)

  • 9.0.1 - 2023-07-05

    Updating package version to 9.0.1 (#920)

  • 9.0.0 - 2022-12-21
    • Check if node version supports asymmetricKeyDetails

    • Validate algorithms for ec key type

    • Rename variable

    • Rename function

    • Add early return for symmetric keys

    • Validate algorithm for RSA key type

    • Validate algorithm for RSA-PSS key type

    • Check key types for EdDSA algorithm

    • Rename function

    • Move validateKey function to module

    • Convert arrow to function notation

    • Validate key in verify function

    • Simplify if

    • Convert if to switch..case

    • Guard against empty key in validation

    • Remove empty line

    • Add lib to check modulus length

    • Add modulus length checks

    • Validate mgf1HashAlgorithm and saltLength

    • Check node version before using key details API

    • Use built-in modulus length getter

    • Fix Node version validations

    • Remove duplicate validateKey

    • Add periods to error messages

    • Fix validation in verify function

    • Make asymmetric key validation the latest validation step

    • Change key curve validation

    • Remove support for ES256K

    • Fix old test that was using wrong key types to sign tokens

    • Enable RSA-PSS for old Node versions

    • Add specific RSA-PSS validations on Node 16 LTS+

    • Improve error message

    • Simplify key validation code

    • Fix typo

    • Improve error message

    • Change var to const in test

    • Change const to let to avoid reassigning problem

    • Improve error message

    • Test incorrect private key type

    • Rename invalid to unsupported

    • Test verifying of jwt token with unsupported key

    • Test invalid private key type

    • Change order of object parameters

    • Move validation test to separate file

    • Move all validation tests to separate file

    • Add prime256v1 ec key

    • Remove modulus length check

    • WIP: Add EC key validation tests

    • Fix node version checks

    • Fix error message check on test

    • Add successful tests for EC curve check

    • Remove only from describe

    • Remove only

    • Remove duplicate block of code

    • Move variable to a different scope and make it const

    • Convert allowed curves to object for faster lookup

    • Rename variable

    • Change variable assignment order

    • Remove unused object properties

    • Test RSA-PSS happy path and wrong length

    • Add missing tests

    • Pass validation if no algorithm has been provided

    • Test validation of invalid salt length

    • Test error when signing token with invalid key

    • Change var to const/let in verify tests

    • Test verifying token with invalid key

    • Improve test error messages

    • Add parameter to skip private key validation

    • Replace DSA key with a 4096 bit long key

    • Test allowInvalidPrivateKeys in key signing

    • Improve test message

    • Rename variable

    • Add key validation flag tests

    • Fix variable name in Readme

    • Change private to public dsa key in verify

    • Rename flag

    • Run EC validation tests conditionally

    • Fix tests in old node versions

    • Ignore block of code from test coverage

    • Separate EC validations tests into two different ones

    • Add comment

    • Wrap switch in if instead of having an early return

    • Remove unsupported algorithms from asymmetric key validation

    • Rename option to allowInvalidAsymmetricKeyTypes and improve Readme

    • 9.0.0

    • adding migration notes to readme

    • adding changelog for version 9.0.0

    Co-authored-by: julienwoll julien.wollscheid@auth0.com

from jsonwebtoken GitHub release notes
Package name: @octokit/types
  • 8.2.1 - 2023-01-20

    8.2.1 (2023-01-20)

    Bug Fixes

    • revert "feat: many unreleased endpoint updates (#499)" (fcbd164)
  • 8.2.0 - 2023-01-20

    8.2.0 (2023-01-20)

    Features

  • 8.1.1 - 2023-01-13

    8.1.1 (2023-01-13)

    Reverts

  • 8.1.0 - 2023-01-11

    8.1.0 (2023-01-11)

    Features

  • 8.0.0 - 2022-10-12

    8.0.0 (2022-10-12)

    BREAKING CHANGES

    • @ octokit/types no longer include endpoint types for GHEC

    Features

    • feat: publish new GitHub Enterprise Cloud (GHEC) specific @ octokit/openapi-types-ghec package, plus lots of API changes (29539cf)
    • feat: add support for new "Get a Dependabot alert" API (GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number})
    • feat: add support for new "Update a Dependabot alert" API (PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number})
    • feat: add support for new "List Dependabot alerts for a repository" API (GET /repos/{owner}/{repo}/dependabot/alerts)
      • feat: add support for new "List organization secret" (GET /organizations/{org}/codespaces/secrets) Codespaces API
    • feat: add support for new "Get an organization public key" (GET /organizations/{org}/codespaces/secrets/public-key) Codespaces API
    • feat: add support for new "Get an organization secret" (GET /organizations/{org}/codespaces/secrets/{secret_name} ) Codespaces API
    • feat: adds support for new "Create or update an organization secret" (PUT /organizations/{org}/codespaces/secrets/{secret_name} ) Codespaces API
    • feat: add support for new "Delete an organization secret" (DELETE /organizations/{org}/codespaces/secrets/{secret_name}) Codespaces API
    • feat: add support for new "List selected repositories for an organization secret" (GET /organizations/{org}/codespaces/secrets/{secret_name}/repositories) Codespaces API
    • feat: add support for new "Set selected repositories for an organization secret" ( PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories) Codespaces API
    • feat: add support for new "Add selected repository to an organization secret" (PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}) Codespaces API
    • feat: add support for new "Remove selected repository from an organization secret" (DELETE /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}) Codespaces API
    • feat: add support for resolution_comment attribute returned on secret scanning alerts
    • feat: add support for new scope attribute returned by the "Get a diff of the dependencies between commits" (GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}) API
    • deps: update @ octokit/openapi-types to v14 (#463) (7bf7e20)

    ### Fixes

    • fix: tweak documentation for repo starring related APIs (GET /repos/{owner}/{repo}/stargazers, GET /users/{username}/starred and GET /user/starred) to clarify what Accept header to send to get information about when stars were created
    • fix: tweak documentation for "Get community profile metrics" API (GET /repos/{owner}/{repo}/community/profile) to clarify that it only works with public repos which are not forks
    • fix: document the size attribute returned on repos across the API
    • fix: document that APIs can return 422 errors when an endpoint has been spammed with many requests
    • fix: document 301 status returned by labels-related APIs if the repo has been renamed or moved
    • fix: document 404 Not Found status returned by labels-related APIs
from @octokit/types GitHub release notes
Package name: @octokit/rest from @octokit/rest GitHub release notes
Package name: probot
  • 12.4.0 - 2024-06-03

    12.4.0 (2024-06-03)

    Features

    • set x-github-delivery header to event.id for all requests sent from context.octokit in event handlers (#2026) (f1985e5)
  • 12.3.4 - 2024-05-01

    12.3.4 (2024-05-01)

    Bug Fixes

  • 12.3.3 - 2023-11-15
  • 12.3.2 - 2023-11-14
  • 12.3.1 - 2023-06-14
  • 12.3.0 - 2023-01-16
  • 12.2.9 - 2023-01-10
  • 12.2.8 - 2022-09-05
from probot GitHub release notes
Package name: yargs from yargs GitHub release notes
Package name: @google-cloud/cloudbuild
  • 3.10.0 - 2023-07-24
  • 3.9.0 - 2023-07-11
  • 3.8.0 - 2023-07-05
from @google-cloud/cloudbuild GitHub release notes
Package name: @octokit/webhooks-types
  • 6.11.0 - 2023-04-07

    6.11.0 (2023-04-07)

    Features

  • 6.10.0 - 2023-01-18

    6.10.0 (2023-01-18)

    Features

  • 6.9.0 - 2022-12-29

    6.9.0 (2022-12-29)

    Features

    • schema updates to workflow_job, organization.renamed events and common schemas (#753) (e69d6ec)
  • 6.8.0 - 2022-12-14

    6.8.0 (2022-12-14)

    Features

    • add schemas for registry_package event, update package event with new information (#747) (b7b5d9d)
  • 6.7.0 - 2022-10-24

    6.7.0 (2022-10-24)

    Features

  • 6.6.0 - 2022-10-24

    6.6.0 (2022-10-24)

    Features

    • add new properties to merge_group event (#721) (e637b64)
  • 6.5.0 - 2022-10-13

    6.5.0 (2022-10-13)

    Features

    • add new schema for dependabot_alert event
    • add common schema for PullRequestReview
    • new properties found on the repository object in payloads
    • new display_title property for workflow_run
    • new cve_id property for SecurityAdvisoryEvent
    • mark display_title and path as required
  • 6.4.0 - 2022-10-03

    6.4.0 (2022-10-03)

    Features

    • new pull_request.dequeued and pull_request.queued events (#715) (44b5c3c)
  • 6.3.6 - 2022-08-17

    6.3.6 (2022-08-17)

    Bug Fixes

    • refactor BranchProtectionRule to have a common schema for the different rule types (#696) (25f4b0a)
from @octokit/webhooks-types GitHub release notes
Package name: adm-zip from adm-zip GitHub release notes
Package name: ajv
  • 8.17.1 - 2024-07-12

    What's Changed

    Full Changelog: v8.17.0...v8.17.1

    Plus everything in 8.17.0 which failed to release

    The only functional change is to switch from uri-js (which is no longer supported), to fast-uri. This is the second attempt and the team on fast-uri have been really helpful addressing the issues we found last time.

    Revert "Revert fast-uri change (#2444)" by @ gurgunday in #2448
    fix: ignore new eslint error for @ typescript-eslint/no-extraneous-class by @ jasoniangreen in #2455
    docs: clarify behaviour of addVocabulary by

Snyk has created this PR to upgrade:
  - gaxios from 5.0.1 to 5.1.3.
    See this package in npm: https://www.npmjs.com/package/gaxios
  - minimatch from 5.1.0 to 5.1.6.
    See this package in npm: https://www.npmjs.com/package/minimatch
  - glob from 8.0.3 to 8.1.0.
    See this package in npm: https://www.npmjs.com/package/glob
  - tmp from 0.2.1 to 0.2.3.
    See this package in npm: https://www.npmjs.com/package/tmp
  - jsonwebtoken from 9.0.0 to 9.0.2.
    See this package in npm: https://www.npmjs.com/package/jsonwebtoken
  - @octokit/types from 8.0.0 to 8.2.1.
    See this package in npm: https://www.npmjs.com/package/@octokit/types
  - @octokit/rest from 19.0.4 to 19.0.13.
    See this package in npm: https://www.npmjs.com/package/@octokit/rest
  - probot from 12.2.8 to 12.4.0.
    See this package in npm: https://www.npmjs.com/package/probot
  - yargs from 17.5.1 to 17.7.2.
    See this package in npm: https://www.npmjs.com/package/yargs
  - @google-cloud/cloudbuild from 3.8.0 to 3.10.0.
    See this package in npm: https://www.npmjs.com/package/@google-cloud/cloudbuild
  - @octokit/webhooks-types from 6.3.6 to 6.11.0.
    See this package in npm: https://www.npmjs.com/package/@octokit/webhooks-types
  - adm-zip from 0.5.9 to 0.5.15.
    See this package in npm: https://www.npmjs.com/package/adm-zip
  - ajv from 8.11.0 to 8.17.1.
    See this package in npm: https://www.npmjs.com/package/ajv
  - code-suggester from 4.1.0 to 4.3.3.
    See this package in npm: https://www.npmjs.com/package/code-suggester
  - firebase-admin from 11.9.0 to 11.11.1.
    See this package in npm: https://www.npmjs.com/package/firebase-admin
  - follow-redirects from 1.15.2 to 1.15.6.
    See this package in npm: https://www.npmjs.com/package/follow-redirects
  - fs-extra from 11.1.0 to 11.2.0.
    See this package in npm: https://www.npmjs.com/package/fs-extra
  - fsevents from 2.3.2 to 2.3.3.
    See this package in npm: https://www.npmjs.com/package/fsevents

See this project in Snyk:
https://app.snyk.io/org/googlecloud-fD9E4u83kGB6j2zHM2NDFc/project/cc84e2fc-a6db-4c80-abcd-9075da1627e0?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

google-cla bot commented Sep 16, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants