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

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>
@jstetina jstetina added the run-gatekeeper Trigger post-codefreeze gatekeeper check label Sep 11, 2026
@github-actions github-actions Bot removed the run-gatekeeper Trigger post-codefreeze gatekeeper check label Sep 11, 2026
@github-actions

Copy link
Copy Markdown

Post-Codefreeze Gatekeeper — FAILED (evaluation)

Advisory only — this check does not block merging. Please review the results before merging.

Target branch: rhoai-3.5
Required Jira version: 3.5 GA RHOAI RELEASE

❌ The following issues were found:

  • No Jira issue found in PR description. Expected format: RHOAIENG-1234, RHAIENG-1234, or AIPCC-1234

After resolving issues, push a commit, re-edit the PR description, or add the run-gatekeeper label to re-trigger this check.

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.

3 participants