Bump github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.6 (#2974)

Bumps
[github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) 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://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/go-jose/go-jose/v4&package-manager=go_modules&previous-version=4.1.4&new-version=4.1.6)](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](https://github.com/bazelbuild/continuous-integration/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 files changed