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: body-parser, express, google-auth-library, jsonwebtoken #17

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.

⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

Name Versions Released on

body-parser
from 1.19.2 to 1.20.2 | 3 versions ahead of your current version | 2 years ago
on 2023-02-22
express
from 4.17.3 to 4.19.2 | 7 versions ahead of your current version | 6 months ago
on 2024-03-25
google-auth-library
from 7.14.1 to 9.14.0 | 36 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
on 2024-08-20
jsonwebtoken
from 8.5.1 to 9.0.2 | 3 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | a year ago
on 2023-08-30

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
98 Proof of Concept
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
98 No Known Exploit
medium severity Improper Authentication
SNYK-JS-JSONWEBTOKEN-3180022
98 No Known Exploit
medium severity Improper Restriction of Security Token Assignment
SNYK-JS-JSONWEBTOKEN-3180024
98 No Known Exploit
medium severity Use of a Broken or Risky Cryptographic Algorithm
SNYK-JS-JSONWEBTOKEN-3180026
98 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-7925106
98 Proof of Concept
Release notes
Package name: body-parser from body-parser GitHub release notes
Package name: express from express GitHub release notes
Package name: google-auth-library
  • 9.14.0 - 2024-08-20

    9.14.0 (2024-08-19)

    Features

    Bug Fixes

    • deps: Update dependency @ googleapis/iam to v21 (#1847) (e9459f3)
  • 9.13.0 - 2024-07-31

    9.13.0 (2024-07-29)

    Features

    • Group Concurrent Access Token Requests for Base External Clients (#1840) (0e08fc5)
  • 9.12.0 - 2024-07-27

    9.12.0 (2024-07-26)

    Features

    Bug Fixes

    • deps: Update dependency @ googleapis/iam to v19 (#1823) (b070ffb)
    • deps: Update dependency @ googleapis/iam to v20 (#1832) (e31a831)
  • 9.11.0 - 2024-06-12

    9.11.0 (2024-06-01)

    Features

    • Adding support of client authentication method. (#1814) (4a14e8c)
  • 9.10.0 - 2024-05-13

    9.10.0 (2024-05-10)

    Features

    • Implement UserRefreshClient#fetchIdToken (#1811) (ae8bc54)

    Bug Fixes

    • deps: Update dependency @ googleapis/iam to v16 (#1803) (40406a0)
    • deps: Update dependency @ googleapis/iam to v17 (#1808) (4d67f07)
    • deps: Update dependency @ googleapis/iam to v18 (#1809) (b2b9676)
  • 9.9.0 - 2024-04-24

    9.9.0 (2024-04-18)

    Features

    • Adds suppliers for custom subject token and AWS credentials (#1795) (c680b5d)
  • 9.8.0 - 2024-04-15

    9.8.0 (2024-04-12)

    Features

    Bug Fixes

  • 9.7.0 - 2024-03-13

    9.7.0 (2024-03-12)

    Features

    Bug Fixes

    • deps: Update dependency @ googleapis/iam to v15 (#1772) (f45f975)
    • Making aws request signer get a new session token each time security credentials are requested. (#1765) (6a6e496)
  • 9.6.3 - 2024-02-06

    9.6.3 (2024-02-06)

    Bug Fixes

    • Always sign with scopes on Non-Default Universes (#1752) (f3d3a03)
  • 9.6.2 - 2024-02-02

    9.6.2 (2024-02-02)

    Bug Fixes

  • 9.6.1 - 2024-02-01
  • 9.6.0 - 2024-01-29
  • 9.5.0 - 2024-01-25
  • 9.4.2 - 2024-01-10
  • 9.4.1 - 2023-12-01
  • 9.4.0 - 2023-11-30
  • 9.3.0 - 2023-11-29
  • 9.2.0 - 2023-10-26
  • 9.1.0 - 2023-10-02
  • 9.0.0 - 2023-07-20
  • 8.9.0 - 2023-06-29
  • 8.8.0 - 2023-05-02
  • 8.7.0 - 2022-11-09
  • 8.6.0 - 2022-10-17
  • 8.5.2 - 2022-09-22
  • 8.5.1 - 2022-08-31
  • 8.5.0 - 2022-08-31
  • 8.4.0 - 2022-08-23
  • 8.3.0 - 2022-08-19
  • 8.2.0 - 2022-08-16
  • 8.1.1 - 2022-07-13
  • 8.1.0 - 2022-06-30
  • 8.0.3 - 2022-06-21
  • 8.0.2 - 2022-04-29
  • 8.0.1 - 2022-04-22
  • 8.0.0 - 2022-04-20
  • 7.14.1 - 2022-03-23
from google-auth-library 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 [email protected]

  • 8.5.1 - 2019-03-18

    8.5.1

from jsonwebtoken GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade:
  - body-parser from 1.19.2 to 1.20.2.
    See this package in npm: https://www.npmjs.com/package/body-parser
  - express from 4.17.3 to 4.19.2.
    See this package in npm: https://www.npmjs.com/package/express
  - google-auth-library from 7.14.1 to 9.14.0.
    See this package in npm: https://www.npmjs.com/package/google-auth-library
  - jsonwebtoken from 8.5.1 to 9.0.2.
    See this package in npm: https://www.npmjs.com/package/jsonwebtoken

See this project in Snyk:
https://app.snyk.io/org/cachiman/project/242049ee-30de-468f-b328-0c5fb126d011?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

google-cla bot commented Sep 18, 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants