Skip to content

OCPBUGS-101939: Use github.com/openshift-sustaining/net v0.43.0-sec.4 to fix CVE-2026-33814 - #587

Open
kunalmemane wants to merge 1 commit into
openshift:release-4.22from
kunalmemane:CVE-2026-33814-4.22
Open

kunalmemane wants to merge 1 commit into
openshift:release-4.22from
kunalmemane:CVE-2026-33814-4.22

Conversation

@kunalmemane

@kunalmemane kunalmemane commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

CVE-2026-33814 is fixed in golang.org/x/net v0.53.0 which uses go1.25. Use github.com/openshift-sustaining/net v0.43.0-sec.4 instead to fix CVE-2026-33814 to maintain go compatibility as 4.22 branch uses go1.23.

… to fix CVE-2026-33814

Signed-off-by: Kunal Memane <kmemane@redhat.com>
@openshift-ci-robot openshift-ci-robot added 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. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 27, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@kunalmemane: This pull request references Jira Issue OCPBUGS-101939, which is invalid:

  • expected dependent Jira Issue OCPBUGS-104323 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), MODIFIED, ON_QA, but it is Closed (Not a Bug) instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

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

Details

In response to this:

Use github.com/openshift-sustaining/net v0.43.0-sec.4 to fix CVE-2026-33814

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.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Pre-merge checks: Passed 10

Check name Status Explanation
Stable And Deterministic Test Names Passed The check applies to Ginkgo test titles (It, Describe, Context, When, and similar). PR #587 bumps golang.org/x/net to a replacement module (github.com/openshift-sustaining/net v0.43.0-sec.4) in go.mod…
Test Structure And Quality Passed The check applies to Ginkgo test code, specifically It blocks and their setup, timeouts, assertions, and informing markers. This PR does not add or change any such code. - The PR (openshift/builder …
Microshift Test Compatibility Passed The check applies only when new Ginkgo e2e tests are added. This PR (openshift/builder #587, author kunalmemane, base release-4.22) is a dependency fix. Its go.mod change adds a replace directive, `go…
Single Node Openshift (Sno) Test Compatibility Passed The check applies only when new Ginkgo e2e tests (It, Describe, Context, When, etc.) are added. This PR (openshift/builder #587, base release-4.22, head CVE-2026-33814-4.22, author kunalmemane) is a d…
Topology-Aware Scheduling Compatibility Passed The check does not apply to this pull request. PR #587 (author kunalmemane, base release-4.22) swaps the golang.org/x/net dependency for github.com/openshift-sustaining/net v0.43.0-se…
Ote Binary Stdout Contract Passed The OTE Binary Stdout Contract check does not apply to this pull request. PR #587 (openshift/builder, head CVE-2026-33814-4.22, base release-4.22) bumps a dependency to fix CVE-2026-33814, and its dif…
Ipv6 And Disconnected Network Test Compatibility Passed The check applies only when a PR adds new Ginkgo e2e tests (It/Describe/Context/When). This check is not applicable to PR #587 (openshift/builder, head CVE-2026-33814-4.22 into release-4.22, author ku…
No-Weak-Crypto Passed The PR (openshift/builder #587, author kunalmemane, base release-4.22) swaps the golang.org/x/net dependency for the github.com/openshift-sustaining/net v0.43.0-sec.4 fork. Evidence from the commi…
Container-Privileges Passed The check flags privileged containers and risky security settings in container or Kubernetes manifests. PR #587 (author kunalmemane, base release-4.22) changes Go module dependencies …
No-Sensitive-Data-In-Logs Passed PR #587 (openshift/builder, base release-4.22, head CVE-2026-33814-4.22, author kunalmemane) pins golang.org/x/net to github.com/openshift-sustaining/net v0.43.0-sec.4. The go.mod replace directive (l…
Full details: Stable And Deterministic Test Names

Explanation

The check applies to Ginkgo test titles (It, Describe, Context, When, and similar). PR #587 bumps golang.org/x/net to a replacement module (github.com/openshift-sustaining/net v0.43.0-sec.4) in go.mod and vendors the dependency. The commit diff against eb6fab8 touches two Go test files, pkg/build/builder/common_test.go and pkg/build/builder/daemonless_test.go. Those changes use standard Go testing (t.Run/t.Errorf style, table-driven cases), not Ginkgo. A search of both changed test files found no It(), Describe(), Context(), When(), DescribeTable() or Entry() title declarations, so no test title was added or changed. The changed test cases do contain fixed expected values, but these are not Ginkgo titles and the check does not cover them. No Ginkgo test title violates the check, so it passes. Caveat: the local history shows the full tree as changed against origin/main, so the base for the PR diff is uncertain. The verdict relies on the changed test files found in the commit diff against eb6fab8. Even if the base is off, neither changed test file declares a Ginkgo title.

Full details: Test Structure And Quality

Explanation

The check applies to Ginkgo test code, specifically It blocks and their setup, timeouts, assertions, and informing markers. This PR does not add or change any such code. - The PR (openshift/builder #587, author kunalmemane, base release-4.22) changes dependency management. The go.mod replace directive now points golang.org/x/net to github.com/openshift-sustaining/net v0.43.0-sec.4. - The repository has no Ginkgo or Gomega test code. Searches for g.It(, ote.Informing, and direct onsi/ginkgo imports found only go.sum entries and vendored third-party changelogs. The onsi/ginkgo/v2 entries are indirect dependencies. - The *_test.go files in the tree use standard Go testing and are outside this check's scope. Ginkgo It blocks cannot be found in them. The repository history is a single root commit, so a base-to-head diff was not available. The commit's go.mod content still shows the dependency replacement as the only relevant change, and the PR description describes only that change. No new Ginkgo It block was found, so no test-quality criterion applies.

Full details: Microshift Test Compatibility

Explanation

The check applies only when new Ginkgo e2e tests are added. This PR (openshift/builder #587, author kunalmemane, base release-4.22) is a dependency fix. Its go.mod change adds a replace directive, golang.org/x/net =&gt; github.com/openshift-sustaining/net v0.43.0-sec.4, to fix CVE-2026-33814. Evidence gathered: - The repository has a single commit with no parent, so a base-to-head diff is unavailable. The check does not depend on the diff, because the tree contains no Ginkgo or e2e test code at all. - A search of the whole tree found no imports of github.com/onsi/ginkgo, github.com/onsi/gomega, or k8s.io/kubernetes/test/e2e. The only hits were in go.sum and in vendored changelog text, not in Go test sources. - No directory with "e2e" in its name exists. - The Go tests present (for example cmd/userns_test.go and pkg/build/builder/*_test.go) use the standard testing package. None are Ginkgo It/Describe/Context/When blocks. No new Ginkgo e2e tests are introduced, so no MicroShift compatibility condition is triggered. The check passes as not applicable.

Full details: Single Node Openshift (Sno) Test Compatibility

Explanation

The check applies only when new Ginkgo e2e tests (It, Describe, Context, When, etc.) are added. This PR (openshift/builder #587, base release-4.22, head CVE-2026-33814-4.22, author kunalmemane) is a dependency fix. Its title and description state that it replaces golang.org/x/net v0.53.0 with github.com/openshift-sustaining/net v0.43.0-sec.4 to fix CVE-2026-33814 while keeping the Go 1.23 toolchain on 4.22. The local checkout (HEAD 885d703) is a single root commit, so a parent-based diff is unavailable. Its go.mod contains the expected change, "replace golang.org/x/net => github.com/openshift-sustaining/net v0.43.0-sec.4" and a golang.org/x/net v0.42.0 indirect entry. Searches of all non-vendor Go files found no Ginkgo spec calls (It, Describe, Context, When, DescribeTable) and no onsi/ginkgo or onsi/gomega imports. The only matches for these words are in vendored libraries, which are not e2e tests. No new e2e test is introduced, so the SNO topology criteria do not apply.

Full details: Topology-Aware Scheduling Compatibility

Explanation

The check does not apply to this pull request. PR #587 (author kunalmemane, base release-4.22) swaps the golang.org/x/net dependency for github.com/openshift-sustaining/net v0.43.0-sec.4. The change is in go.mod, go.sum and vendored module code. The repository is a container image builder (cmd/builder, pkg/build/builder), not an operator or controller. The non-vendor tree has no Kubernetes deployment manifests. Its only YAML file is goio.yaml. A search of the non-vendor tree found no podAntiAffinity, topologySpreadConstraints, maxUnavailable, nodeSelector, node-role labels, ControlPlaneTopology, PodDisruptionBudget or tolerations. No new scheduling constraint is introduced. The commit lists the full tree as added because no base commit is available in the checkout, but the PR description and go.mod replace directive confirm the dependency-only intent. No CodeRabbit review threads were returned.

Full details: Ote Binary Stdout Contract

Explanation

The OTE Binary Stdout Contract check does not apply to this pull request. PR #587 (openshift/builder, head CVE-2026-33814-4.22, base release-4.22) bumps a dependency to fix CVE-2026-33814, and its diff is limited to go.mod and go.sum. The repository is the OpenShift image builder (cmd/, pkg/build/builder), not an OpenShift Tests Extension binary. Searches of the non-vendored tree found no ginkgo usage, no openshift-tests references, no klog.SetOutput or LogToStderr calls, and no process-level stdout code introduced by this change. The only TestMain is a standard Go test in pkg/build/builder/sti_test.go, which the PR does not touch. No stdout write in a process-level path is introduced, so there is no failure condition to match.

Full details: Ipv6 And Disconnected Network Test Compatibility

Explanation

The check applies only when a PR adds new Ginkgo e2e tests (It/Describe/Context/When). This check is not applicable to PR #587 (openshift/builder, head CVE-2026-33814-4.22 into release-4.22, author kunalmemane per the provider record). Evidence: - The PR title and description describe a dependency-only change. It replaces golang.org/x/net with github.com/openshift-sustaining/net v0.43.0-sec.4 to address CVE-2026-33814. The go.mod replace line is at go.mod:262 (replace golang.org/x/net =&gt; github.com/openshift-sustaining/net v0.43.0-sec.4). - The repository contains no Ginkgo imports. A search of all *.go files for github.com/onsi/ginkgo returned no matches. - The checkout has a single commit (885d703) with no usable base history. The diff against release-4.22 therefore cannot be isolated from git. The added-line scan of the commit showed only ordinary builder code and vendored or generated content. It contained no It(), Describe(), Context(), or When() additions. The scan did not separate PR-introduced lines from the full tree. Because the PR adds no Ginkgo e2e tests and the repository has no Ginkgo suite, no IPv4 assumption or external connectivity criterion applies. The check passes.

Full details: No-Weak-Crypto

Explanation

The PR (openshift/builder #587, author kunalmemane, base release-4.22) swaps the golang.org/x/net dependency for the github.com/openshift-sustaining/net v0.43.0-sec.4 fork. Evidence from the commit diff against its parent c588312: - Changed files: only go.mod, go.sum, vendor/modules.txt, and vendored golang.org/x/* packages (including the x/net and x/sys/x/term/x/mod/x/text bumps). No pkg/ or cmd/ file changed. - New weak or custom crypto in the PR: a grep of the vendor diff for MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, ConstantTimeCompare, hmac.Equal, and token/secret == comparisons found no added matches. The vendored x/net changes are HTTP/2, HTML, proxy, trace, and websocket code. The html/token.go keyword hit is the HTML tokenizer, not cryptography. - Pre-existing SHA1 use: pkg/build/builder/common.go line 174 uses sha1.Sum to build a repository name string. This line is not in the PR diff, so the PR did not introduce it. It is outside the scope of this PR. A follow-up could review whether this non-security naming hash should move to a different digest, but that is not a failure caused by this change. No changed code introduces a flagged primitive, ECB use, custom cipher, or non-constant-time secret comparison.

Full details: Container-Privileges

Explanation

The check flags privileged containers and risky security settings in container or Kubernetes manifests. PR #587 (author kunalmemane, base release-4.22) changes Go module dependencies to fix CVE-2026-33814. The go.mod replace directive golang.org/x/net =&gt; github.com/openshift-sustaining/net v0.43.0-sec.4 matches the PR description. Evidence gathered: - The checkout has a single commit (885d703), so a base-to-head diff was not available. I relied on the PR description and the go.mod content. - Files outside vendor/ that match the check's patterns are not manifests. They are Go source, a seccomp profile, and a CI/build file: cmd/userns.go, pkg/build/builder/util_linux.go, daemonless_test.go, and imagecontent/usr/share/containers/seccomp.json. The seccomp profile only lists CAP_SYS_ADMIN as a rule entry. None of these are Kubernetes or container manifests that set privileged, hostPID, hostNetwork, hostIPC, SYS_ADMIN capability, runAsUser 0, or allowPrivilegeEscalation. - No YAML or YML Kubernetes manifests exist outside vendor/ except goio.yaml, which is a build-tool config. - Dockerfile-style build files (Containerfile.ocp, Containerfile.ubi, Dockerfile.rhel8) are present. The pattern search found no privileged or root-escalation settings in them. The PR does not add or change any container or Kubernetes manifest that sets a flagged privilege. The check passes.

Full details: No-Sensitive-Data-In-Logs

Explanation

PR #587 (openshift/builder, base release-4.22, head CVE-2026-33814-4.22, author kunalmemane) pins golang.org/x/net to github.com/openshift-sustaining/net v0.43.0-sec.4. The go.mod replace directive (line 262) and go.sum entries (lines 337-338) match that description. The PR description and title describe a dependency change only, with no logging call added or changed. Evidence limits: the local clone has a single root commit with no base, so I could not produce a true patch diff against release-4.22. I therefore could not confirm the full file list the PR touches. I did not treat the whole tree as PR-introduced. Pre-existing logging observed in the tree, outside the PR's described change: pkg/build/builder/util.go:70-71 logs the registry username and email; pkg/build/builder/cmd/scmauth/password.go:82 logs a git config containing username/password credentials at V(5); pkg/build/builder/cmd/scmauth/sshkey.go:52 logs private SSH key content at V(5); pkg/build/builder/cmd/scmauth/cacert.go:36 logs CA cert content. Per the decision contract, pre-existing behavior does not cause FAIL unless the PR activates or exposes it. Nothing in the described dependency bump does so. These lines warrant a separate follow-up review.

Resolution

No change required for this PR. Consider a separate ticket to review the pre-existing credential, email, and private-key logging in pkg/build/builder/util.go, pkg/build/builder/cmd/scmauth/password.go, sshkey.go, and cacert.go.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@openshift-ci

openshift-ci Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign prabhapa 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

@kunalmemane

Copy link
Copy Markdown
Member Author

/pipeline required

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-ovn
/test e2e-aws-ovn-builds
/test e2e-aws-ovn-image-ecosystem

@kunalmemane

Copy link
Copy Markdown
Member Author

/test e2e-aws-ovn-builds

@openshift-ci

openshift-ci Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

@kunalmemane: 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/e2e-aws-ovn-builds 885d703 link true /test e2e-aws-ovn-builds
ci/prow/security 885d703 link false /test security

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

jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants