OCPBUGS-103963: Replace golang.org/x/net with sustaining fork for CVE-2026-33814 in 4.20 - #133
Conversation
…CVE-2026-33814 This PR uses the OpenShift sustaining fork of golang.org/x/net that backports the CVE-2026-33814 fix while maintaining Go 1.24 compatibility. The upstream fix (v0.53.0) requires Go 1.25.0+, which is incompatible with release-4.20. The sustaining fork (v0.50.0-sec.3) backports only the security fix without requiring a Go version upgrade. Sustaining fork: github.com/openshift-sustaining/net@v0.50.0-sec.3 Related: OCPBUGS-103963 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Skipping CI for Draft Pull Request. |
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@katekeiroz-dev: This pull request references Jira Issue OCPBUGS-103963, which is invalid:
Comment 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. |
|
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: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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: all tests passed! 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. |
Summary
This PR addresses CVE-2026-33814 by replacing
golang.org/x/netwith the OpenShift sustaining fork that contains the security fix. The upstream patched version requires a Go upgrade that release-4.20 cannot take.Changes
golang.org/x/net => github.com/openshift-sustaining/net v0.50.0-sec.3go.modandgo.sumWhy Replace Directive?
golang.org/x/netv0.53.0 requires Go 1.25.0+, but release-4.20 must keep Go 1.24.0. The sustaining tagv0.50.0-sec.3backports the CVE-2026-33814Setting.Valid()check without a Go minor upgrade.CVE Details
CVE-2026-33814 / GO-2026-4918: HTTP/2 client infinite loop DoS when a peer sends
SETTINGS_MAX_FRAME_SIZE=0.Stdlib
net/httpis separately listed as fixed in Go 1.25.10 / 1.26.3 (no 1.24.x patch listed). This PR covers the vendored x/net client path.Upstream References
<carry>Test Plan
go 1.24.0)processSettingsNoWritecallss.Valid()Related
Made with Cursor