← Back to Pull requests

Bump github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.6 #180

Closed
unknown closed this pull request without merging on Nov 02, 2026 11:50 UTC
View on GitHub
unknown unknown commented on Nov 02, 2026 11:27 UTC
Author

Bumps github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/go-jose/go-jose/releases">github.com/go-jose/go-jose/v4's releases</a>.</em></p>
<blockquote>
<h2>v4.1.6</h2>
<h2>Fixed Security Issues</h2>
<p>This release contains a fix for <a href="https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q">https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q</a></p>
<h2>Breaking Changes</h2>
<p>The fix for <a href="https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q">https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q</a> 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 <code>MaxRSAModulusBits</code> before performing any JWK parsing.</p>
<h2>Changed</h2>
<ul>
<li>Reject mismatched JWE CEK lengths by <a href="https://github.com/akshithg"><code>@​akshithg</code></a> in <a href="https://redirect.github.com/go-jose/go-jose/pull/266">go-jose/go-jose#266</a></li>
<li>Add a tests containerfile and threat model by <a href="https://github.com/mcpherrinm"><code>@​mcpherrinm</code></a> in <a href="https://redirect.github.com/go-jose/go-jose/pull/300">go-jose/go-jose#300</a></li>
<li>Fix error message for future issued tokens by <a href="https://github.com/inahga"><code>@​inahga</code></a> in <a href="https://redirect.github.com/go-jose/go-jose/pull/303">go-jose/go-jose#303</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/go-jose/go-jose/compare/v4.1.5...v4.1.6">https://github.com/go-jose/go-jose/compare/v4.1.5...v4.1.6</a></p>
<h2>v4.1.5</h2>
<h1>Fixed security issues</h1>
<ul>
<li>cipher/cbc_hmac: don't panic on empty ciphertext (<a href="https://redirect.github.com/go-jose/go-jose/issues/292">#292</a>)</li>
<li>cipher/cbc_hmac: don't panic on invalid key (<a href="https://redirect.github.com/go-jose/go-jose/issues/291">#291</a>)</li>
<li>json: limit stack depth (<a href="https://redirect.github.com/go-jose/go-jose/issues/290">#290</a>)</li>
<li>jwt: reject out-of-range NumericDate values (<a href="https://redirect.github.com/go-jose/go-jose/issues/278">#278</a>)</li>
<li>Check alg against pubkey curve during verify. (<a href="https://redirect.github.com/go-jose/go-jose/issues/293">#293</a>)</li>
<li>Reject malformed Ed25519 JWKs (<a href="https://redirect.github.com/go-jose/go-jose/issues/250">#250</a>)</li>
<li>jws: choose verification key per-signature (<a href="https://redirect.github.com/go-jose/go-jose/issues/243">#243</a>)</li>
</ul>
<h1>Breaking Changes</h1>
<p>In <a href="https://redirect.github.com/go-jose/go-jose/issues/226">#226</a>, 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.</p>
<h1>Changed</h1>
<ul>
<li>Verify OpaqueSigner's Public() return is public (<a href="https://redirect.github.com/go-jose/go-jose/issues/260">#260</a>)</li>
<li>jws: skip signature on ErrJWKSKidNotFound (<a href="https://redirect.github.com/go-jose/go-jose/issues/248">#248</a>)</li>
<li>Handle JWE JSON without protected header (<a href="https://redirect.github.com/go-jose/go-jose/issues/240">#240</a>)</li>
<li>jws: don't strip internal whitespace before parsing JSON (<a href="https://redirect.github.com/go-jose/go-jose/issues/239">#239</a>)</li>
<li>jws: fewer calls to OpaqueSigner.Public() (<a href="https://redirect.github.com/go-jose/go-jose/issues/224">#224</a>)</li>
<li>Return a specific error when parsing empty string (<a href="https://redirect.github.com/go-jose/go-jose/issues/216">#216</a>)</li>
<li>Reject typed nil at Verify time (<a href="https://redirect.github.com/go-jose/go-jose/issues/285">#285</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230"><code>a0111f8</code></a> Merge commit from fork</li>
<li><a href="https://github.com/go-jose/go-jose/commit/dd39a410ac24a20eb53f71ad8f56717f40aa6097"><code>dd39a41</code></a> Fix error message for future issued tokens (<a href="https://redirect.github.com/go-jose/go-jose/issues/303">#303</a>)</li>
<li><a href="https://github.com/go-jose/go-jose/commit/13b7118f01278681667af05e054c6dc852f3db49"><code>13b7118</code></a> Add a tests containerfile and threat model (<a href="https://redirect.github.com/go-jose/go-jose/issues/300">#300</a>)</li>
<li><a href="https://github.com/go-jose/go-jose/commit/25b55feb059b8b08e16a73c601c8b80571fa5208"><code>25b55fe</code></a> Reject mismatched JWE CEK lengths (<a href="https://redirect.github.com/go-jose/go-jose/issues/266">#266</a>)</li>
<li><a href="https://github.com/go-jose/go-jose/commit/b10771e937ddcce419e30fc0c2b9e38464a333d0"><code>b10771e</code></a> Reject typed nil at Verify time</li>
<li><a href="https://github.com/go-jose/go-jose/commit/56f3866f4a86c69991f04cb50e94aa88d601044c"><code>56f3866</code></a> Check alg against pubkey curve during verify. (<a href="https://redirect.github.com/go-jose/go-jose/issues/293">#293</a>)</li>
<li><a href="https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54"><code>74114c2</code></a> cipher/cbc_hmac: don't panic on empty ciphertext (<a href="https://redirect.github.com/go-jose/go-jose/issues/292">#292</a>)</li>
<li><a href="https://github.com/go-jose/go-jose/commit/6b364f3b429a4081b069766f873e164be2c5d77c"><code>6b364f3</code></a> cipher/cbc_hmac: don't panic on invalid key (<a href="https://redirect.github.com/go-jose/go-jose/issues/291">#291</a>)</li>
<li><a href="https://github.com/go-jose/go-jose/commit/a31af25836222f4c45d366d6e8f9b1049dd9935a"><code>a31af25</code></a> json: limit stack depth (<a href="https://redirect.github.com/go-jose/go-jose/issues/290">#290</a>)</li>
<li><a href="https://github.com/go-jose/go-jose/commit/7f5beb3a66f6aca8145c9f7cebd2fd8f07af7df4"><code>7f5beb3</code></a> jwt: reject out-of-range NumericDate values (<a href="https://redirect.github.com/go-jose/go-jose/issues/278">#278</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/go-jose/go-jose/compare/v4.1.4...v4.1.6">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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.

    </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: mkumatag Review duration: 22m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #180"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%