Skip to content

fix: bump golang.org/x/net to v0.56.0 (CVE-2026-42502, CVE-2026-39821, CVE-2026-46600) - #99

Merged
guidonguido merged 2 commits into
rhobs:rhobs-rel-0.87.0-rhobs1from
amitesh1201:fix/cve-CVE-2026-42502-rhobs-rel-0.87.0-rhobs1
Aug 10, 2026
Merged

fix: bump golang.org/x/net to v0.56.0 (CVE-2026-42502, CVE-2026-39821, CVE-2026-46600)#99
guidonguido merged 2 commits into
rhobs:rhobs-rel-0.87.0-rhobs1from
amitesh1201:fix/cve-CVE-2026-42502-rhobs-rel-0.87.0-rhobs1

Conversation

@amitesh1201

@amitesh1201 amitesh1201 commented Aug 6, 2026

Copy link
Copy Markdown

Summary

Bump golang.org/x/net from v0.47.0 to v0.56.0 on rhobs-rel-0.87.0-rhobs1.

Required for ACM release branches:

  • release-2.17 (ACM-39380)
  • release-2.16 (ACM-39544)

CVEs resolved

CVE Sub-package In production binary?
CVE-2026-42502 x/net/html No (test-only)
CVE-2026-39821 x/net/idna Yes
CVE-2026-46600 x/net/dns/dnsmessage Yes

Changes

  • go.mod, go.sum only
  • Go directive bumps 1.24.0 → 1.25.0 (builder already at go1.25)
  • Cascading x/* package updates via go mod tidy

Risk assessment

  • CVE-2026-42502 target package (x/net/html) is NOT compiled into the operator binary
  • x/net/idna and x/net/dns/dnsmessage CVEs ARE in the binary — v0.56.0 addresses both
  • No application code changes required

Test plan

  • go build ./cmd/operator/ passes locally
  • CI green on rhobs-rel-0.87.0-rhobs1
  • Downstream stolostron wrapper PRs (ACM-39380, ACM-39544) build via Konflux

Made with Cursor

@subbarao-meduri

subbarao-meduri commented Aug 6, 2026

Copy link
Copy Markdown

1. Update .github/env (CI blocker)

go.mod now requires go 1.25.0 but .github/env still has golang-version=1.24. CI fails:

go: go.mod requires go >= 1.25.0 (running go 1.24.13; GOTOOLCHAIN=local)

Fix: change golang-version=1.24 to golang-version=1.25 in .github/env.

2. Update PR title

Title lists only CVE-2026-42502 but body covers 3 CVEs. Change to: fix: bump golang.org/x/net to v0.56.0 (CVE-2026-42502, CVE-2026-39821, CVE-2026-46600)

@amitesh1201 amitesh1201 changed the title fix: bump golang.org/x/net to v0.56.0 (CVE-2026-42502) fix: bump golang.org/x/net to v0.56.0 (CVE-2026-42502, CVE-2026-39821, CVE-2026-46600) Aug 6, 2026
@nindsimonv

Copy link
Copy Markdown

This PR also addresses CVE-2026-25681 for ticket ACM-36598

@amitesh1201

Copy link
Copy Markdown
Author

/retest

amitesh1201 and others added 2 commits August 10, 2026 11:40
Bumps golang.org/x/net from v0.47.0 to v0.56.0 on rhobs-rel-0.87.0-rhobs1.

Ref: ACM-39380, ACM-39544
Signed-off-by: Amit Yadav <ayadav@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
go.mod now requires go 1.25.0 after the x/net bump.
Aligns CI Go version with the module requirement.

Ref: ACM-39380, ACM-39544
Signed-off-by: Amit Yadav <ayadav@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@subbarao-meduri
subbarao-meduri force-pushed the fix/cve-CVE-2026-42502-rhobs-rel-0.87.0-rhobs1 branch from 7ac0b62 to c855c07 Compare August 10, 2026 15:42

@subbarao-meduri subbarao-meduri left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

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.

4 participants