OCPBUGS-103481: CVE-2026-33814-4-18 openshift4/ose-monitoring-plugin-rhel9: Go HTTP/2: Denial of Service via malformed SETTINGS_MAX_FRAME_SIZE frame [openshift-4.18] - #1217
Conversation
…rhel9: Go HTTP/2: Denial of Service via malformed SETTINGS_MAX_FRAME_SIZE frame [openshift-4.18] golang.org/x/net's HTTP/2 implementation is vulnerable to a denial-of-service attack (CVE-2026-33814). A malicious or malformed peer can send an HTTP/2 SETTINGS frame with an invalid/out-of-range SETTINGS_MAX_FRAME_SIZE value. The affected code fails to properly validate this setting before using it to size internal buffers/frame handling, allowing a remote peer to trigger excessive resource consumption or a crash in the server, resulting in denial of service. Fix: added a replace directive in go.mod (replace golang.org/x/net => github.com/openshift-sustaining/net v0.50.0-sec.4) swapping upstream golang.org/x/net for a patched fork that backports the upstream fix for CVE-2026-33814. The require block still lists the pre-replace golang.org/x/net version as indirect; this is expected, as replace unconditionally overrides that at build time (confirmed via go list -m golang.org/x/net, which resolves to the patched fork). go.sum updated with corresponding checksums. Testing: make build-backend builds successfully against the patched module; go test ./pkg/... -v passes all tests (no test-backend Makefile target on this branch). Backend-only change (Go module dependency), no application code modified. Target branch: release-4.18.
|
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: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
@tonyxrmdavidson: This pull request references Jira Issue OCPBUGS-103481, 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tonyxrmdavidson 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 |
|
@tonyxrmdavidson: 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. |
|
/hold |
golang.org/x/net's HTTP/2 implementation is vulnerable to a denial-of-service attack (CVE-2026-33814). A malicious or malformed peer can send an HTTP/2 SETTINGS frame with an invalid/out-of-range SETTINGS_MAX_FRAME_SIZE value. The affected code fails to properly validate this setting before using it to size internal buffers/frame handling, allowing a remote peer to trigger excessive resource consumption or a crash in the server, resulting in denial of service.
Fix: added a replace directive in go.mod (replace golang.org/x/net => github.com/openshift-sustaining/net v0.50.0-sec.4) swapping upstream golang.org/x/net for a patched fork that backports the upstream fix for CVE-2026-33814. The require block still lists the pre-replace golang.org/x/net version as indirect; this is expected, as replace unconditionally overrides that at build time (confirmed via go list -m golang.org/x/net, which resolves to the patched fork). go.sum updated with corresponding checksums.
Testing: make build-backend builds successfully against the patched module; go test ./pkg/... -v passes all tests (no test-backend Makefile target on this branch).
Backend-only change (Go module dependency), no application code modified. Target branch: release-4.18.