Skip to content

OCPBUGS-102156: CVE-2026-33814 - validate HTTP/2 SETTINGS in vendored x/net [4.12] - #2775

Open
katekeiroz-dev wants to merge 1 commit into
openshift:release-4.12from
katekeiroz-dev:update-xnet-4.12
Open

katekeiroz-dev wants to merge 1 commit into
openshift:release-4.12from
katekeiroz-dev:update-xnet-4.12

Conversation

@katekeiroz-dev

Copy link
Copy Markdown

What type of PR is this?

/kind bug

What this PR does / why we need it:

Addresses CVE-2026-33814 (GO-2026-4918) in vendored golang.org/x/net v0.23.0.

The HTTP/2 client transport now calls Setting.Valid() at the start of processSettingsNoWrite (backport of https://go.dev/cl/761640). Setting.Valid() already rejects an invalid MaxFrameSize.

A full module bump is not possible on this branch:

  • Upstream patched version v0.53.0 requires Go 1.25
  • openshift-sustaining/net@v0.35.0-sec.3 cannot be used here: release-4.12 builds with rhel-8-release-golang-1.19-openshift-4.12, and hack/update-vendor.sh cannot run on Go 1.19

Go directive remains go 1.19.

CVE Details

CVE-2026-33814 / GO-2026-4918: HTTP/2 client availability issue when processing an invalid SETTINGS frame

  • Affected: golang.org/x/net/http2 before v0.53.0
  • Stdlib net/http is a separate golang-builder tracker; this PR remediates the vendored extended module

Changes

  • vendor/golang.org/x/net/http2/transport.go: processSettingsNoWrite calls s.Valid() before applying settings

Upstream References

Test Plan

  • Go version unchanged (go 1.19)
  • go build -mod=vendor of golang.org/x/net/http2 with Go 1.19.13
  • Confirmed processSettingsNoWrite calls s.Valid()
  • CI verify / unit tests on this PR
  • QE verification after merge

Related

Which issue(s) this PR fixes:

Fixes OCPBUGS-102156

Does this PR introduce a user-facing change?

Fix CVE-2026-33814 in vendored golang.org/x/net HTTP/2 client transport.

Made with Cursor

…plying them

CVE-2026-33814 / GO-2026-4918: call Setting.Valid() in
processSettingsNoWrite so a peer cannot set MaxFrameSize to 0 and hang
the HTTP/2 client transport.

golang.org/x/net v0.53.0 (and openshift-sustaining/net v0.35.0-sec.3)
cannot be used on release-4.12: the branch must stay on Go 1.19
(rhel-8-release-golang-1.19-openshift-4.12). This carries go.dev/cl/761640
onto the existing vendored v0.23.0, which already implements the
MaxFrameSize lower bound inside Setting.Valid().

Upstream kubernetes updated to v0.53.0 in kubernetes#138561.

Related: OCPBUGS-102156
Co-authored-by: Cursor <cursoragent@cursor.com>
@openshift-merge-bot

Copy link
Copy Markdown

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@openshift-ci-robot openshift-ci-robot added backports/unvalidated-commits Indicates that not all commits come to merged upstream PRs. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. labels Sep 16, 2026
@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 17dc2039-759a-41fb-9747-4919dc648c2e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@openshift-ci openshift-ci Bot added the kind/bug Categorizes issue or PR as related to a bug. label Sep 16, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Sep 16, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@katekeiroz-dev: This pull request references Jira Issue OCPBUGS-102156, which is valid. The bug has been moved to the POST state.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.z) matches configured target version for branch (4.12.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note type set to "Release Note Not Required"
  • dependent bug Jira Issue OCPBUGS-102372 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-102372 targets the "4.13.z" version, which is one of the valid target versions: 4.13.0, 4.13.z
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira (ocp-sustaining-admins@redhat.com), skipping review request.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

What type of PR is this?

/kind bug

What this PR does / why we need it:

Addresses CVE-2026-33814 (GO-2026-4918) in vendored golang.org/x/net v0.23.0.

The HTTP/2 client transport now calls Setting.Valid() at the start of processSettingsNoWrite (backport of https://go.dev/cl/761640). Setting.Valid() already rejects an invalid MaxFrameSize.

A full module bump is not possible on this branch:

  • Upstream patched version v0.53.0 requires Go 1.25
  • openshift-sustaining/net@v0.35.0-sec.3 cannot be used here: release-4.12 builds with rhel-8-release-golang-1.19-openshift-4.12, and hack/update-vendor.sh cannot run on Go 1.19

Go directive remains go 1.19.

CVE Details

CVE-2026-33814 / GO-2026-4918: HTTP/2 client availability issue when processing an invalid SETTINGS frame

  • Affected: golang.org/x/net/http2 before v0.53.0
  • Stdlib net/http is a separate golang-builder tracker; this PR remediates the vendored extended module

Changes

  • vendor/golang.org/x/net/http2/transport.go: processSettingsNoWrite calls s.Valid() before applying settings

Upstream References

Test Plan

  • Go version unchanged (go 1.19)
  • go build -mod=vendor of golang.org/x/net/http2 with Go 1.19.13
  • Confirmed processSettingsNoWrite calls s.Valid()
  • CI verify / unit tests on this PR
  • QE verification after merge

Related

Which issue(s) this PR fixes:

Fixes OCPBUGS-102156

Does this PR introduce a user-facing change?

Fix CVE-2026-33814 in vendored golang.org/x/net HTTP/2 client transport.

Made with Cursor

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot

Copy link
Copy Markdown

@katekeiroz-dev: the contents of this pull request could not be automatically validated.

The following commits could not be validated and must be approved by a top-level approver:

Comment /validate-backports to re-evaluate validity of the upstream PRs, for example when they are merged upstream.

@openshift-ci
openshift-ci Bot requested a review from deads2k September 16, 2026 10:41
@openshift-ci openshift-ci Bot added the vendor-update Touching vendor dir or related files label Sep 16, 2026
@openshift-ci

openshift-ci Bot commented Sep 16, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: katekeiroz-dev
Once this PR has been reviewed and has the lgtm label, please assign deads2k for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@katekeiroz-dev

Copy link
Copy Markdown
Author

/ok-to-test

@openshift-ci openshift-ci Bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Sep 16, 2026
@openshift-ci

openshift-ci Bot commented Sep 16, 2026

Copy link
Copy Markdown

@katekeiroz-dev: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/verify 885d1ea link true /test verify
ci/prow/images 885d1ea link true /test images

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backports/unvalidated-commits Indicates that not all commits come to merged upstream PRs. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. kind/bug Categorizes issue or PR as related to a bug. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. vendor-update Touching vendor dir or related files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants