Repository navigation
fix(deps): bump go-jose/v4 to 4.1.6 for GHSA-mgcc-cww5-fp2q - #9278
Merged
Merged
Conversation
go-jose v4.1.4 is affected by CVE-2026-116587 (GHSA-mgcc-cww5-fp2q, severity high): parsing a JWK that contains an oversized RSA key can be used for denial of service. DevLake pulls go-jose in indirectly through coreos/go-oidc/v3, which helpers/oidchelper uses to verify OIDC tokens against the provider's JWKS. v4.1.6 caps the accepted RSA modulus at 4096 bits during JWK parsing. Signed-off-by: DoDiODev <DoDiDev@proton.me>
3 tasks done
klesh
approved these changes
Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
backend/go.modpinsgithub.com/go-jose/go-jose/v4at v4.1.4. That versionis affected by GHSA-mgcc-cww5-fp2q
(CVE-2026-116587, severity high). A JWK with an RSA key can trigger a denial
of service while it is being parsed.
DevLake uses go-jose indirectly, through
coreos/go-oidc/v3:helpers/oidchelper(used byserver/api/auth) fetches the OIDC provider'sJWKS and verifies ID tokens against it. That is the code path the advisory
describes.
This PR bumps go-jose to v4.1.6 (
go get github.com/go-jose/go-jose/v4@v4.1.6 && go mod tidy). Onlybackend/go.modandbackend/go.sumchange.The regular Dependabot version updates do not pick this up. The weekly
go-minor-patchgroup (#9268) only contains direct dependencies, andgo-jose is
// indirect.Does this close any open issues?
N/A
Screenshots
N/A
Other Information
is larger than 4096 bits (configurable via
jose.MaxRSAModulusBits).Common OIDC providers sign with 2048- or 3072-bit keys, so I did not
change the default.
go build ./...,make mock,scripts/unit-test-go.shpass (includinghelpers/oidchelperandserver/api/auth).config-ui, license header, Grafana check; 14/14 jobs green):
https://github.com/DoDiODev/devlake/actions/runs/40847595592
go.mod.