Skip to content

Bump golang.org/x/net to v0.55.0 for Go 1.26 CVE cleanup (OCP 4.14) - #71

Merged
baijum merged 2 commits into
release-3.15from
bump-xnet-0.55.0-release-3.15
Aug 5, 2026
Merged

Bump golang.org/x/net to v0.55.0 for Go 1.26 CVE cleanup (OCP 4.14)#71
baijum merged 2 commits into
release-3.15from
bump-xnet-0.55.0-release-3.15

Conversation

@baijum

@baijum baijum commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Fixes for OCP Tools 4.14 (HELM-813):

  • Bump golang.org/x/net v0.23.0 -> v0.55.0 (fixes CVE-2026-27136, CVE-2026-39821). This transitively bumps sibling golang.org/x/* modules to satisfy x/net's own go.mod requirements. The go directive was already at 1.26 from the earlier v3.15.4.1 respin (HELM-812), no change needed here.
  • Migrate .golangci.yml from the v1 to v2 config schema and bump golangci-lint to v2.9.0 (v1.58, built with an old Go, can't lint a module with a go 1.26 directive). Also bumps the hardcoded go-version: "1.22" in golangci-lint.yml/build-test.yml to 1.26 to match. Preserves the original lint policy; excludes revive rules the newer bundled revive now enables by default that aren't part of this branch's existing lint policy.

Once RELENG-506 lands (tagging the already-built golang-1.26.3-1.el8_10 into the ocp-tools-4.14-rhel-8-override buildroot), this also clears the way to close CVE-2026-33811 (OCPTOOLS-1430) and CVE-2026-39820 (OCPTOOLS-1465) for this stream.

Tracking: HELM-813

baijum added 2 commits July 29, 2026 13:38
golang.org/x/net/html has an XSS vulnerability via HTML parsing bypass
(CVE-2026-27136) and golang.org/x/net/idna has a privilege escalation
via incorrect Punycode label processing (CVE-2026-39821). Both are
fixed in x/net >= v0.55.0. This stream was previously on an older,
vulnerable version.

Ref: HELM-814, HELM-818
- Bump go-version 1.22 -> 1.26 in golangci-lint.yml and build-test.yml,
  and golangci-lint-action pin + version to v2.9.0 (golangci-lint v1.58
  can't lint a module with a go 1.26 directive).
- Migrate .golangci.yml from the v1 to v2 config schema, preserving the
  original lint policy (gosimple+staticcheck -> staticcheck with SA*/S*
  checks only, gofmt/goimports -> formatters section).
- Exclude a handful of revive rules (exported, package-comments,
  unexported-return, var-naming) that golangci-lint v2.9.0's newer
  bundled revive now enables by default but weren't part of this
  branch's original lint policy under v1.58, plus the standard
  redefines-builtin-id exclusions already used on the other streams.
@openshift-ci
openshift-ci Bot requested a review from martinszuc August 5, 2026 11:22
@openshift-ci

openshift-ci Bot commented Aug 5, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baijum

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved label Aug 5, 2026
@baijum
baijum merged commit f72585e into release-3.15 Aug 5, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant