Skip to content

fix(deps): bump Go dependencies to resolve critical CVEs [rhoai-3.5] - #747

Open
nsingla wants to merge 3 commits into
red-hat-data-services:rhoai-3.5from
nsingla:cve_fixes_072026
Open

fix(deps): bump Go dependencies to resolve critical CVEs [rhoai-3.5]#747
nsingla wants to merge 3 commits into
red-hat-data-services:rhoai-3.5from
nsingla:cve_fixes_072026

Conversation

@nsingla

@nsingla nsingla commented Jul 29, 2026

Copy link
Copy Markdown

Summary

Backports CVE fixes to rhoai-3.5 branch (cherry-picked from rhoai-3.3 PR #720):

Test plan

  • Verify go build ./... succeeds
  • Run go test ./... — all existing tests pass
  • New unit tests for webhook LimitReader and templateReferencing validation pass
  • CI pipeline passes

Joibel and others added 3 commits July 22, 2026 15:04
Prevent denial-of-service via oversized webhook payloads by limiting
the request body read to 2MB using io.LimitReader.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
When MustUseReference() is true, users could override security-sensitive
WorkflowSpec fields (ServiceAccountName, SecurityContext, Volumes, etc.)
via workflowTemplateRef submissions. Replace the single podSpecPatch
deny-check with allow-list validation that rejects non-allowed fields,
plus defense-in-depth sanitization before the strategic merge patch.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Update vulnerable dependencies:
- golang.org/x/crypto: v0.36.0 → v0.52.0
- golang.org/x/net: v0.38.0 → v0.55.0
- github.com/go-jose/go-jose/v3: v3.0.4 → v3.0.5
- google.golang.org/grpc: v1.71.1 → v1.79.3

Cherry-picked from rhoai-3.3 PR argoproj#720.

Signed-off-by: Nelesh Singla <117123879+nsingla@users.noreply.github.com>
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