Skip to content

[SIRT-1753] Bump go-jose/go-jose/v3 to v3.0.5 (CVE-2026-34986)#360

Merged
vikrantpuppala merged 1 commit into
mainfrom
sirt-1753-bump-vulnerable-deps
May 21, 2026
Merged

[SIRT-1753] Bump go-jose/go-jose/v3 to v3.0.5 (CVE-2026-34986)#360
vikrantpuppala merged 1 commit into
mainfrom
sirt-1753-bump-vulnerable-deps

Conversation

@vikrantpuppala
Copy link
Copy Markdown
Collaborator

@vikrantpuppala vikrantpuppala commented May 20, 2026

Summary

Addresses SIRT-1753 by bumping the transitive github.com/go-jose/go-jose/v3 dependency from v3.0.4 to v3.0.5, which patches CVE-2026-34986 (JWE KeyUnwrap panic → DoS).

  • go-jose is an indirect dependency pulled in via coreos/go-oidc/v3.
  • The vulnerable code path (ParseEncrypted*Decrypt) is never reached by this driver — go-oidc is used only for OIDC provider discovery (fetching .well-known/openid-configuration).
  • The bump is to satisfy SCA scanners; it is not a functional change.

Scope note: CVE-2026-41602 (apache/thrift) is intentionally not included

SIRT-1753 also flags github.com/apache/thrift v0.17.0 for CVE-2026-41602 (TFramedTransport integer overflow). This PR does not bump thrift, for two reasons:

  1. The upstream fix only lands in apache/thrift v0.23.0, which requires Go 1.25. This module's go.mod is pinned to go 1.20. Bumping the go directive to 1.25 would force every downstream consumer on Go 1.20–1.24 to upgrade their build toolchain — a breaking change inappropriate for a security patch release.
  2. The vulnerable component is not reachable. Per Ricardo's analysis on SIRT-1753, the driver only uses THttpClient (see internal/client/client.go:283 and the hardcoded ThriftTransport: "http" default in internal/config/config.go). TFramedTransport is never instantiated — there is no code path, even a fallback, that constructs it.

The non-exploitability of CVE-2026-41602 will be communicated back to SIRT (VEX / suppression) rather than addressed via a toolchain bump. We can revisit when the driver's Go floor moves as part of a planned, communicated minor release.

Test plan

  • go build ./... — clean
  • go test ./... — all packages pass

This pull request and its description were written by Isaac.

Addresses CVE-2026-34986 (JWE KeyUnwrap panic / DoS in go-jose) by
bumping the transitive dependency from v3.0.4 to v3.0.5. The CVE is
not exploitable in this driver — the vulnerable JWE parse/decrypt path
in go-jose is never reached; go-jose is only pulled in indirectly via
coreos/go-oidc, which the driver uses solely for OIDC provider
discovery. The bump is to satisfy SCA scanners.

CVE-2026-41602 (apache/thrift TFramedTransport integer overflow) is
also reported by SIRT-1753 but is intentionally NOT addressed here:
- The fix only lands in apache/thrift v0.23.0, which requires Go 1.25.
- This module is pinned to Go 1.20; bumping the go directive would be
  a breaking change for downstream consumers building against earlier
  Go toolchains.
- The vulnerable TFramedTransport is not reachable: the driver only
  uses THttpClient (see internal/client/client.go and config defaults).
The non-exploitability of CVE-2026-41602 will be communicated to SIRT
separately rather than via a forced toolchain bump.

Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
@vikrantpuppala vikrantpuppala force-pushed the sirt-1753-bump-vulnerable-deps branch from 1938f72 to dde8945 Compare May 20, 2026 16:46
@vikrantpuppala vikrantpuppala merged commit b31339e into main May 21, 2026
3 checks passed
@vikrantpuppala vikrantpuppala deleted the sirt-1753-bump-vulnerable-deps branch May 21, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants