Skip to content

chore(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.6 - #1627

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/go_modules/github.com/go-jose/go-jose/v4-4.1.6
Open

dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/go_modules/github.com/go-jose/go-jose/v4-4.1.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.6.

Release notes

Sourced from github.com/go-jose/go-jose/v4's releases.

v4.1.6

Fixed Security Issues

This release contains a fix for GHSA-mgcc-cww5-fp2q

Breaking Changes

The fix for GHSA-mgcc-cww5-fp2q involves capping the size of the RSA modulus of keys accepted by JWK parsing. This limit is 4096 bits. If you need this to be higher, set MaxRSAModulusBits before performing any JWK parsing.

Changed

Full Changelog: go-jose/go-jose@v4.1.5...v4.1.6

v4.1.5

Fixed security issues

  • cipher/cbc_hmac: don't panic on empty ciphertext (#292)
  • cipher/cbc_hmac: don't panic on invalid key (#291)
  • json: limit stack depth (#290)
  • jwt: reject out-of-range NumericDate values (#278)
  • Check alg against pubkey curve during verify. (#293)
  • Reject malformed Ed25519 JWKs (#250)
  • jws: choose verification key per-signature (#243)

Breaking Changes

In #226, we un-exported jose.RandReader. This was used to be able to stub out the randomness function in tests, but is ignored as of Go 1.26 in some APIs, so no longer serves a useful function.

Changed

  • Verify OpaqueSigner's Public() return is public (#260)
  • jws: skip signature on ErrJWKSKidNotFound (#248)
  • Handle JWE JSON without protected header (#240)
  • jws: don't strip internal whitespace before parsing JSON (#239)
  • jws: fewer calls to OpaqueSigner.Public() (#224)
  • Return a specific error when parsing empty string (#216)
  • Reject typed nil at Verify time (#285)

v4.1.4

What's Changed

Fixes Panic in JWE decryption. See GHSA-78h2-9frx-2jm8

Full Changelog: go-jose/go-jose@v4.1.3...v4.1.4

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) from 4.1.3 to 4.1.6.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Commits](go-jose/go-jose@v4.1.3...v4.1.6)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
  dependency-version: 4.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 2, 2026
@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

@robocanic robocanic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

未发现明显问题。

  • github.com/go-jose/go-jose/v4 4.1.3 → 4.1.6 为补丁版本升级,仓库中仅 pkg/console/auth/oidc.go(jose.JSONWebKeySet、josejwt.ParseSigned)及其测试使用。
  • 在 PR head 上本地验证:go test ./pkg/console/auth/... 通过,go mod verify 通过;go.sum 的 h1 与 /go.mod 两条记录均已更新。
  • go-jose 4.1.6 的 go 指令为 1.24.0,与仓库 go.mod 的 go 1.24.0 一致,无需调整。
  • CI 中 CI (Go 1.23/1.24) 失败的原因是 TestObservabilityInstanceDashboardDispatch/metric(pkg/console/handler/observability_test.go:129),与本 PR 无关。

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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant