Repository navigation
OCPBUGS-101939: Use github.com/openshift-sustaining/net v0.43.0-sec.4 to fix CVE-2026-33814 - #587
OCPBUGS-101939: Use github.com/openshift-sustaining/net v0.43.0-sec.4 to fix CVE-2026-33814#587kunalmemane wants to merge 1 commit into
Conversation
… to fix CVE-2026-33814 Signed-off-by: Kunal Memane <kmemane@redhat.com>
|
@kunalmemane: This pull request references Jira Issue OCPBUGS-101939, 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. |
Pre-merge checks:
|
| Check name | Status | Explanation |
|---|---|---|
| Stable And Deterministic Test Names | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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
#587bumps 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
Itblocks 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. Thego.modreplacedirective now pointsgolang.org/x/nettohub.lumenfield.work/openshift-sustaining/net v0.43.0-sec.4. - The repository has no Ginkgo or Gomega test code. Searches forg.It(,ote.Informing, and directonsi/ginkgoimports found onlygo.sumentries and vendored third-party changelogs. Theonsi/ginkgo/v2entries are indirect dependencies. - The*_test.gofiles in the tree use standard Gotestingand are outside this check's scope. GinkgoItblocks cannot be found in them. The repository history is a single root commit, so a base-to-head diff was not available. The commit'sgo.modcontent still shows the dependency replacement as the only relevant change, and the PR description describes only that change. No new GinkgoItblock 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 => 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 ofhub.lumenfield.work/onsi/ginkgo,github.com/onsi/gomega, ork8s.io/kubernetes/test/e2e. The only hits were ingo.sumand in vendored changelog text, not in Go test sources. - No directory with "e2e" in its name exists. - The Go tests present (for examplecmd/userns_test.goandpkg/build/builder/*_test.go) use the standardtestingpackage. 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 => github.com/openshift-sustaining/net v0.43.0-sec.4). - The repository contains no Ginkgo imports. A search of all *.go files forhub.lumenfield.work/onsi/ginkgoreturned 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 thegolang.org/x/netdependency for thehub.lumenfield.work/openshift-sustaining/net v0.43.0-sec.4fork. Evidence from the commit diff against its parentc588312: - Changed files: onlygo.mod,go.sum,vendor/modules.txt, and vendoredgolang.org/x/*packages (including the x/net and x/sys/x/term/x/mod/x/text bumps). Nopkg/orcmd/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. Thehtml/token.gokeyword hit is the HTML tokenizer, not cryptography. - Pre-existing SHA1 use:pkg/build/builder/common.goline 174 usessha1.Sumto 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 => github.com/openshift-sustaining/net v0.43.0-sec.4matches 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.
|
Pipeline controller notification This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration. Use |
|
[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 |
|
/pipeline required |
|
Scheduling tests matching the |
|
/test e2e-aws-ovn-builds |
|
@kunalmemane: 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. |
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.