OCPBUGS-102156: CVE-2026-33814 - validate HTTP/2 SETTINGS in vendored x/net [4.12] - #2775
katekeiroz-dev wants to merge 1 commit into
Conversation
…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>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
@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
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. DetailsIn response to this:
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. |
|
@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 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: katekeiroz-dev The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/ok-to-test |
|
@katekeiroz-dev: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
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/netv0.23.0.The HTTP/2 client transport now calls
Setting.Valid()at the start ofprocessSettingsNoWrite(backport of https://go.dev/cl/761640).Setting.Valid()already rejects an invalid MaxFrameSize.A full module bump is not possible on this branch:
v0.53.0requires Go 1.25openshift-sustaining/net@v0.35.0-sec.3cannot be used here:release-4.12builds withrhel-8-release-golang-1.19-openshift-4.12, andhack/update-vendor.shcannot run on Go 1.19Go directive remains
go 1.19.CVE Details
CVE-2026-33814 / GO-2026-4918: HTTP/2 client availability issue when processing an invalid SETTINGS frame
golang.org/x/net/http2before v0.53.0net/httpis a separate golang-builder tracker; this PR remediates the vendored extended moduleChanges
vendor/golang.org/x/net/http2/transport.go:processSettingsNoWritecallss.Valid()before applying settingsUpstream References
<carry>Test Plan
go 1.19)go build -mod=vendorofgolang.org/x/net/http2with Go 1.19.13processSettingsNoWritecallss.Valid()Related
Which issue(s) this PR fixes:
Fixes OCPBUGS-102156
Does this PR introduce a user-facing change?
Made with Cursor