opengovsg / sgid-client

The official TypeScript/JavaScript SDK for sgID
MIT License
11 stars 6 forks source link

[Snyk] Security upgrade jose from 4.9.2 to 4.15.5 #72

Closed liangyuanruo closed 3 months ago

liangyuanruo commented 8 months ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **551/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 5.3 | Resource Exhaustion
[SNYK-JS-JOSE-6419224](https://snyk.io/vuln/SNYK-JS-JOSE-6419224) | No | No Known Exploit (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: jose The new version differs by 250 commits.
  • 765aafd chore(release): 4.15.5
  • b36e45e test: add export check to x509 pem import tests
  • e839ecb test: stop testing JWE RSA1_5 Algorithm
  • 1b91d88 fix: add a maxOutputLength option to zlib inflate
  • 9ca2b24 build: remove release action
  • f3035d8 chore: cleanup after release
  • f0bb220 chore(release): 4.15.4
  • 6f38554 chore: bump dev deps
  • 936c9df fix(types): export GetKeyFunction (#592)
  • 5ac6619 chore: bump dev deps
  • b27d695 chore: cleanup after release
  • 825e798 chore(release): 4.15.3
  • 28fbb35 chore: bump dev deps
  • 110fac2 test: mark Compressed Content tests as non-reproducible
  • 358e864 test: use non deprecated rsa-pss options
  • cc47abb chore: bump dev deps
  • cf11f59 chore: bump dev deps
  • 60db9ad chore: cleanup after release
  • 9e917e1 chore(release): 4.15.2
  • abb63d0 fix(build): add a node target for jose-browser-runtime releases
  • 92a871a test(browsers): only set $BROWSER to a default if missing
  • c13c12c ci: use oven-sh/setup-bun
  • eba5f27 chore: bump dev deps
  • f3b05ef test: update comment with opened WebKit bug url
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/sgid/project/55a0f91f-0ac1-4c2f-bcc4-cbbedfa7dbcf?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/sgid/project/55a0f91f-0ac1-4c2f-bcc4-cbbedfa7dbcf?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"94b7d383-6ddc-4055-bb7f-353ee44d6140","prPublicId":"94b7d383-6ddc-4055-bb7f-353ee44d6140","dependencies":[{"name":"jose","from":"4.9.2","to":"4.15.5"}],"packageManager":"npm","projectPublicId":"55a0f91f-0ac1-4c2f-bcc4-cbbedfa7dbcf","projectUrl":"https://app.snyk.io/org/sgid/project/55a0f91f-0ac1-4c2f-bcc4-cbbedfa7dbcf?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-JOSE-6419224"],"upgrade":["SNYK-JS-JOSE-6419224"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[551],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Resource Exhaustion](https://learn.snyk.io/lesson/redos/?loc=fix-pr)