gpu-operator icon indicating copy to clipboard operation
gpu-operator copied to clipboard

[Bug]: Security Vulnerability: Go Package: golang.org/x/net <= 0.44.0 - Multiple Remote Denial of Service Vulnerabilities - 0.45.0

Open anjaniprayaga opened this issue 9 months ago • 3 comments

Important Note: NVIDIA AI Enterprise customers can get support from NVIDIA Enterprise support. Please open a case here.

Describe the bug golang.org/x/net package used in the latest version <= 0.44.0, Description:

The parser implements the HTML specification, which contains a number of algorithms which are quadratic in complexity by design. This causes the processing time to scale non-linearly with respect to the size of the input for some HTML documents. We have imposed a depth limit of 512 for nested HTML tags, which should be high enough for the vast majority of valid HTML documents, to address this. [CVE-2025-47911] 2) The parser also misimplemented a portion of the HTML specification for table related tags. This could cause the parser to enter an infinite loop when encountering specific combinations of tags. [CVE-2025-58190] Vendor Affected Components: Go Package: golang.org/x/net: < 0.45.0

To Reproduce Scan the image, or Please find the snippet attached.

Image

Expected behavior Update Go Package: golang.org/x/net to version 0.45.0 or later.

Environment (please provide the following information):

  • GPU Operator Version: [e.g. v25.3.0] NA
  • OS: [e.g. Ubuntu24.04] NA
  • Kernel Version: [e.g. 6.8.0-generic] NA
  • Container Runtime Version: [e.g. containerd 2.0.0] NA
  • Kubernetes Distro and Version: [e.g. K8s, OpenShift, Rancher, GKE, EKS] NA

Information to attach (optional if deemed irrelevant): NA

  • [ ] kubernetes pods status: kubectl get pods -n OPERATOR_NAMESPACE
  • [ ] kubernetes daemonset status: kubectl get ds -n OPERATOR_NAMESPACE
  • [ ] If a pod/ds is in an error state or pending state kubectl describe pod -n OPERATOR_NAMESPACE POD_NAME
  • [ ] If a pod/ds is in an error state or pending state kubectl logs -n OPERATOR_NAMESPACE POD_NAME --all-containers
  • [ ] Output from running nvidia-smi from the driver container: kubectl exec DRIVER_POD_NAME -n OPERATOR_NAMESPACE -c nvidia-driver-ctr -- nvidia-smi
  • [ ] containerd logs journalctl -u containerd > containerd.log

Collecting full debug bundle (optional): NA

curl -o must-gather.sh -L https://raw.githubusercontent.com/NVIDIA/gpu-operator/main/hack/must-gather.sh
chmod +x must-gather.sh
./must-gather.sh

NOTE: please refer to the must-gather script for debug data collected.

This bundle can be submitted to us via email: [email protected]

anjaniprayaga avatar Feb 06 '26 03:02 anjaniprayaga

A govulncheck run against the v25.10.1 tag of gpu-operator confirms that the gpu-operator code does not call the vunerable code in golang.org/x/net 0.44.0. Please see the output below:

% govulncheck -show verbose ./...
Fetching vulnerabilities from the database...

Checking the code against the vulnerabilities...

The package pattern matched the following 26 root packages:
  github.com/NVIDIA/gpu-operator/api/nvidia/v1
  github.com/NVIDIA/gpu-operator/internal/consts
  github.com/NVIDIA/gpu-operator/internal/image
  github.com/NVIDIA/gpu-operator/api/nvidia/v1alpha1
  github.com/NVIDIA/gpu-operator/api/versioned/scheme
  github.com/NVIDIA/gpu-operator/api/versioned/typed/nvidia/v1
  github.com/NVIDIA/gpu-operator/api/versioned/typed/nvidia/v1alpha1
  github.com/NVIDIA/gpu-operator/api/versioned
  github.com/NVIDIA/gpu-operator/api/versioned/typed/nvidia/v1/fake
  github.com/NVIDIA/gpu-operator/api/versioned/typed/nvidia/v1alpha1/fake
  github.com/NVIDIA/gpu-operator/api/versioned/fake
  github.com/NVIDIA/gpu-operator/controllers/clusterinfo
  github.com/NVIDIA/gpu-operator/internal/conditions
  github.com/NVIDIA/gpu-operator/internal/nodeinfo
  github.com/NVIDIA/gpu-operator/internal/render
  github.com/NVIDIA/gpu-operator/internal/utils
  github.com/NVIDIA/gpu-operator/internal/state
  github.com/NVIDIA/gpu-operator/internal/validator
  github.com/NVIDIA/gpu-operator/controllers
  github.com/NVIDIA/gpu-operator/internal/info
  github.com/NVIDIA/gpu-operator/cmd/gpu-operator
  github.com/NVIDIA/gpu-operator/cmd/gpuop-cfg/validate/clusterpolicy
  github.com/NVIDIA/gpu-operator/cmd/gpuop-cfg/validate/csv
  github.com/NVIDIA/gpu-operator/cmd/gpuop-cfg/validate
  github.com/NVIDIA/gpu-operator/cmd/gpuop-cfg
  github.com/NVIDIA/gpu-operator/cmd/nvidia-validator
Govulncheck scanned the following 112 modules and the go1.25.7 standard library:
  github.com/NVIDIA/gpu-operator
  dario.cat/[email protected]
  github.com/MakeNowJust/[email protected]
  github.com/Masterminds/[email protected]
  github.com/Masterminds/semver/[email protected]
  github.com/Masterminds/sprig/[email protected]
  github.com/Mellanox/maintenance-operator/[email protected]
  github.com/NVIDIA/[email protected]
  github.com/NVIDIA/[email protected]
  github.com/NVIDIA/[email protected]
  github.com/NVIDIA/[email protected]
  github.com/beorn7/[email protected]
  github.com/blang/semver/[email protected]
  github.com/cespare/xxhash/[email protected]
  github.com/chai2010/[email protected]
  github.com/cpuguy83/go-md2man/[email protected]
  github.com/davecgh/[email protected]
  github.com/docker/[email protected]
  github.com/emicklei/go-restful/[email protected]
  github.com/evanphx/json-patch/[email protected]
  github.com/exponent-io/[email protected]
  github.com/fsnotify/[email protected]
  github.com/fxamacker/cbor/[email protected]
  github.com/go-errors/[email protected]
  github.com/go-logr/[email protected]
  github.com/go-logr/[email protected]
  github.com/go-openapi/[email protected]
  github.com/go-openapi/[email protected]
  github.com/go-openapi/[email protected]
  github.com/gogo/[email protected]
  github.com/google/[email protected]
  github.com/google/[email protected]
  github.com/google/[email protected]
  github.com/google/[email protected]
  github.com/gorilla/[email protected]
  github.com/gregjones/[email protected]
  github.com/huandu/[email protected]
  github.com/josharian/[email protected]
  github.com/json-iterator/[email protected]
  github.com/klauspost/[email protected]
  github.com/liggitt/[email protected]
  github.com/mailru/[email protected]
  github.com/mitchellh/[email protected]
  github.com/mitchellh/[email protected]
  github.com/mitchellh/[email protected]
  github.com/moby/[email protected]
  github.com/moby/[email protected]
  github.com/modern-go/[email protected]
  github.com/modern-go/[email protected]
  github.com/monochromegane/[email protected]
  github.com/munnerz/[email protected]
  github.com/mxk/[email protected]
  github.com/opencontainers/[email protected]
  github.com/openshift/[email protected]
  github.com/openshift/[email protected]
  github.com/operator-framework/[email protected]
  github.com/peterbourgon/[email protected]+incompatible
  github.com/pkg/[email protected]
  github.com/pmezard/[email protected]
  github.com/prometheus-operator/prometheus-operator/pkg/apis/[email protected]
  github.com/prometheus/[email protected]
  github.com/prometheus/[email protected]
  github.com/prometheus/[email protected]
  github.com/regclient/[email protected]
  github.com/russross/blackfriday/[email protected]
  github.com/shopspring/[email protected]
  github.com/sirupsen/[email protected]
  github.com/spf13/[email protected]
  github.com/spf13/[email protected]
  github.com/spf13/[email protected]
  github.com/ulikunitz/[email protected]
  github.com/urfave/cli/[email protected]
  github.com/urfave/cli/[email protected]
  github.com/x448/[email protected]
  github.com/xlab/[email protected]
  github.com/xrash/[email protected]
  go.uber.org/[email protected]
  go.uber.org/[email protected]
  go.uber.org/[email protected]
  go.yaml.in/yaml/[email protected]
  go.yaml.in/yaml/[email protected]
  golang.org/x/[email protected]
  golang.org/x/[email protected]
  golang.org/x/[email protected]
  golang.org/x/[email protected]
  golang.org/x/[email protected]
  golang.org/x/[email protected]
  golang.org/x/[email protected]
  golang.org/x/[email protected]
  golang.org/x/[email protected]
  gomodules.xyz/jsonpatch/[email protected]
  google.golang.org/[email protected]
  gopkg.in/evanphx/[email protected]
  gopkg.in/[email protected]
  gopkg.in/[email protected]
  k8s.io/[email protected]
  k8s.io/[email protected]
  k8s.io/[email protected]
  k8s.io/[email protected]
  k8s.io/[email protected]
  k8s.io/[email protected]
  k8s.io/klog/[email protected]
  k8s.io/[email protected]
  k8s.io/[email protected]
  k8s.io/[email protected]
  sigs.k8s.io/[email protected]
  sigs.k8s.io/[email protected]
  sigs.k8s.io/kustomize/[email protected]
  sigs.k8s.io/kustomize/[email protected]
  sigs.k8s.io/[email protected]
  sigs.k8s.io/structured-merge-diff/[email protected]
  sigs.k8s.io/[email protected]

=== Symbol Results ===

No vulnerabilities found.

=== Package Results ===

Vulnerability #1: GO-2026-4441
    Infinite parsing loop in golang.org/x/net
  More info: https://pkg.go.dev/vuln/GO-2026-4441
  Module: golang.org/x/net
    Found in: golang.org/x/[email protected]
    Fixed in: golang.org/x/[email protected]

Vulnerability #2: GO-2026-4440
    Quadratic parsing complexity in golang.org/x/net/html
  More info: https://pkg.go.dev/vuln/GO-2026-4440
  Module: golang.org/x/net
    Found in: golang.org/x/[email protected]
    Fixed in: golang.org/x/[email protected]

=== Module Results ===

Vulnerability #1: GO-2025-4135
    Malformed constraint may cause denial of service in
    golang.org/x/crypto/ssh/agent
  More info: https://pkg.go.dev/vuln/GO-2025-4135
  Module: golang.org/x/crypto
    Found in: golang.org/x/[email protected]
    Fixed in: golang.org/x/[email protected]

Vulnerability #2: GO-2025-4134
    Unbounded memory consumption in golang.org/x/crypto/ssh
  More info: https://pkg.go.dev/vuln/GO-2025-4134
  Module: golang.org/x/crypto
    Found in: golang.org/x/[email protected]
    Fixed in: golang.org/x/[email protected]

Vulnerability #3: GO-2025-4116
    Potential denial of service in golang.org/x/crypto/ssh/agent
  More info: https://pkg.go.dev/vuln/GO-2025-4116
  Module: golang.org/x/crypto
    Found in: golang.org/x/[email protected]
    Fixed in: golang.org/x/[email protected]

Your code is affected by 0 vulnerabilities.
This scan also found 2 vulnerabilities in packages you import and 3
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.

tariq1890 avatar Feb 11 '26 17:02 tariq1890

This is not a functional issue so removing the bug label and moving to question/discussion until we identify concrete steps. With above comments, GPU Operator does not call vulnerable code. Keeping this open for further discussion.

myeolenv avatar Feb 17 '26 21:02 myeolenv

golang.org/x/net has been updated to v0.49.0. The next GPU Operator release will have this CVE fix.

rajathagasthya avatar Feb 18 '26 19:02 rajathagasthya