Skip to content

[Snyk] Upgrade jose from 5.3.0 to 6.0.11 #172

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

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

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Jun 1, 2025

snyk-top-banner

Snyk has created this PR to upgrade jose from 5.3.0 to 6.0.11.

ℹ️ 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.

  • The recommended version is 29 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
169 Proof of Concept
high severity Insecure Randomness
SNYK-JS-UNDICI-8641354
169 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-OCTOKITENDPOINT-8730856
169 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-OCTOKITREQUESTERROR-8730854
169 Proof of Concept
low severity Missing Release of Memory after Effective Lifetime
SNYK-JS-UNDICI-10176064
169 Proof of Concept
Release notes
Package name: jose
  • 6.0.11 - 2025-05-05

    Fixes

    • typ checking edge-cases when it contains a slash (/) character (31e4baf)
  • 6.0.10 - 2025-03-12

    Refactor

    • removed unused claims methods (74719cf)
    • reorganize jwt claim set utils (1f12d88)
  • 6.0.9 - 2025-03-11

    Documentation

    • add more symbol document, ignore ts-private fields (8b73687)
    • bump typedoc (6163a8b)
    • drop cdnjs links in README (a910038)
    • drop denoland/x links in README and add jsr (3662b9e)
    • fix key export links from docs/README.md (c8edfc2)

    Refactor

    • always assume structuredClone is present (f7898a9)
    • hide internal private fields and drop ProduceJWT inheritance (ab18881)
    • less objects when JWE JWT Replicated Header Parameters are used (c763a0e)
  • 6.0.8 - 2025-02-26

    Fixes

    • export [customFetch] symbol from the default entrypoint (1615614), closes #762
  • 6.0.7 - 2025-02-25

    Documentation

    • improve generate key/secret and import function descriptions (cd06359)

    Fixes

    • use [customFetch] when provided to createRemoteJWKSet (35f6509), closes #760
  • 6.0.6 - 2025-02-23

    Refactor

    Documentation

    • add various exported symbol descriptions (3b8ff71)
    • add various exported symbol descriptions (fc4e7da)
    • add various exported symbol descriptions (74f02c8)
    • update base64url function descriptions (03d72c8)
  • 6.0.5 - 2025-02-23

    Refactor

    • types: make JWKParameters.kty compatible with @ types/node and @ types/web (bb6ccfe)

    Documentation

    • add various exported symbol descriptions (f52c2ff)
  • 6.0.4 - 2025-02-22

    Refactor

    • optimize base64 with tc39/proposal-arraybuffer-base64 (8a0da69), closes #752
    • update getSPKI to use crypto.createPublicKey when available (92392a0), closes #752
    • use Double HMAC pattern for AES-CBC tag comparison (f3ba4c7), closes #752
  • 6.0.3 - 2025-02-22

    Documentation

    • remove root module tag so that README.md shows up on jsr.io (ee70698)
  • 6.0.2 - 2025-02-22

    Documentation

    • add module tags to all entrypoints (a5687aa)
  • 6.0.1 - 2025-02-22
  • 6.0.0 - 2025-02-22
  • 5.10.0 - 2025-02-17
  • 5.9.6 - 2024-10-20
  • 5.9.5 - 2024-10-20
  • 5.9.4 - 2024-10-11
  • 5.9.3 - 2024-09-22
  • 5.9.2 - 2024-09-14
  • 5.9.1 - 2024-09-13
  • 5.9.0 - 2024-09-13
  • 5.8.0 - 2024-08-26
  • 5.7.0 - 2024-08-19
  • 5.6.3 - 2024-07-03
  • 5.6.2 - 2024-06-27
  • 5.6.1 - 2024-06-27
  • 5.6.0 - 2024-06-27
  • 5.5.0 - 2024-06-26
  • 5.4.1 - 2024-06-18
  • 5.4.0 - 2024-06-03
  • 5.3.0 - 2024-05-10
from jose 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:

Summary by Sourcery

Upgrade the jose dependency from v5.x to v6.0.11 to apply the latest security fixes and improvements.

Bug Fixes:

  • Mitigate multiple security vulnerabilities including ReDoS, insecure randomness, and memory handling issues by upgrading jose.

Enhancements:

  • Bump jose to major version 6.0.11 for updated fixes and utilities.

Snyk has created this PR to upgrade jose from 5.3.0 to 6.0.11.

See this package in npm:
jose

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/00eaf84d-a05e-4e1a-923e-697960352bb8?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Jun 1, 2025

Reviewer's Guide

This PR upgrades the jose library from v5.x to v6.x in the attest package by updating the dependency version in package.json, requiring a review of any breaking API changes or import paths.

File-Level Changes

Change Details Files
Bump jose dependency version
  • Updated jose version constraint from ^5.2.3 to ^6.0.11 in package manifest
packages/attest/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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