Skip to content

Update .gitleaksignore - #14

Open
evanbwong wants to merge 1 commit into
spectrocloudfrom
evanbwong-patch-3
Open

Update .gitleaksignore#14
evanbwong wants to merge 1 commit into
spectrocloudfrom
evanbwong-patch-3

Conversation

@evanbwong

Copy link
Copy Markdown

added insignificant credentials that can be ignored

added insignificant credentials that can be ignored

@bulwark-spectrocloud bulwark-spectrocloud Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ GoVulnCheck scan found vulnerabilities:

  1. GO-2024-2687
    • Module: golang.org/x/net
    • Found in: v0.0.0-20220722155237-a158d28d115b
    • Fixed in: v0.23.0
    • Example Traces:
      1. pkg/util/portforward/portforward.go:444:23: portforward.Close calls fmt.Fprintf, which eventually calls bufio.Write
      2. pkg/server/server.go:246:53: server.ServeOnListenerTLS calls server.Serve, which eventually calls server.Serve
      3. pkg/util/websocketproxy/websocketproxy.go:148:26: websocketproxy.ServeHTTP calls websocketproxy.copyResponse, which eventually calls flushwriter.Write
      4. pkg/controllers/manifests/init.go:233:76: manifests.ProcessHelmChart calls http2.Error, which eventually calls manifests.ProcessHelmChart
      5. pkg/util/websocketproxy/websocketproxy.go:176:34: websocketproxy.ServeHTTP calls websocket.Upgrade, which eventually calls http.writeHeader
  2. GO-2023-1571
    • Module: golang.org/x/net
    • Found in: v0.0.0-20220722155237-a158d28d115b
    • Fixed in: v0.7.0
    • Example Traces:
      1. pkg/plugin/plugin.go:173:2: plugin.Start calls plugin.Start$1, which eventually calls transport.NewServerTransport
      2. pkg/util/portforward/portforward.go:444:23: portforward.Close calls fmt.Fprintf, which eventually calls bufio.Write
      3. pkg/server/server.go:246:53: server.ServeOnListenerTLS calls server.Serve, which eventually calls server.Serve
      4. pkg/util/compress/compress.go:46:33: compress.Uncompress calls io.ReadAll, which eventually calls io.ReadAll
      5. pkg/upgrade/upgrade.go:128:45: upgrade.Upgrade calls selfupdate.UpdateTo, which eventually calls http.roundTrip
  3. GO-2025-3522
    • Module: k8s.io/kubernetes
    • Found in: v1.25.3
    • Fixed in: v1.29.13
    • Example Traces:
      1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  4. GO-2023-1892
    • Module: k8s.io/kubernetes
    • Found in: v1.25.3
    • Fixed in: v1.25.11
    • Example Traces:
      1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  5. GO-2023-2341
    • Module: k8s.io/kubernetes
    • Found in: v1.25.3
    • Fixed in: v1.25.16
    • Example Traces:
      1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  6. GO-2023-1891
    • Module: k8s.io/kubernetes
    • Found in: v1.25.3
    • Fixed in: v1.25.11
    • Example Traces:
      1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  7. GO-2024-2994
    • Module: k8s.io/kubernetes
    • Found in: v1.25.3
    • Fixed in: v1.27.16
    • Example Traces:
      1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  8. GO-2025-3595
    • Module: golang.org/x/net
    • Found in: v0.0.0-20220722155237-a158d28d115b
    • Fixed in: v0.38.0
    • Example Traces:
      1. pkg/server/server.go:246:53: server.ServeOnListenerTLS calls server.Serve, which eventually calls proxy.rewriteHTML
  9. GO-2024-3277
    • Module: k8s.io/kubernetes
    • Found in: v1.25.3
    • Fixed in: v1.27.0-alpha.1
    • Example Traces:
      1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  10. GO-2023-1628
  • Module: k8s.io/kubernetes
  • Found in: v1.25.3
  • Fixed in: v1.25.4
  • Example Traces:
    1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  1. GO-2022-0969
  • Module: golang.org/x/net
  • Found in: v0.0.0-20220722155237-a158d28d115b
  • Fixed in: v0.0.0-20220906165146-f3363e06e74c
  • Example Traces:
    1. pkg/server/server.go:246:53: server.ServeOnListenerTLS calls server.Serve, which eventually calls http2.ConfigureServer$1
  1. GO-2022-1144
  • Module: golang.org/x/net
  • Found in: v0.0.0-20220722155237-a158d28d115b
  • Fixed in: v0.4.0
  • Example Traces:
    1. pkg/server/server.go:246:53: server.ServeOnListenerTLS calls server.Serve, which eventually calls http2.ConfigureServer$1
  1. GO-2023-2153
  • Module: google.golang.org/grpc
  • Found in: v1.47.0
  • Fixed in: v1.56.3
  • Example Traces:
    1. pkg/plugin/plugin.go:171:30: plugin.Start calls grpc.NewServer, which eventually calls plugin.Start
    2. pkg/plugin/plugin.go:173:2: plugin.Start calls plugin.Start$1, which eventually calls plugin.Start$1
    3. pkg/plugin/plugin.go:173:2: plugin.Start calls plugin.Start$1, which eventually calls grpc.newHTTP2Transport
  1. GO-2023-2331
  • Module: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  • Found in: v0.20.0
  • Fixed in: v0.46.0
  • Example Traces:
    1. pkg/plugin/remote/plugin_grpc.pb.go:234:20: remote.Mutate calls grpc.Invoke, which eventually calls otelgrpc.UnaryClientInterceptor$1
  1. GO-2022-0983
  • Module: k8s.io/kubernetes
  • Found in: v1.25.3
  • Fixed in: v1.26.0-alpha.3
  • Example Traces:
    1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  1. GO-2025-3465
  • Module: k8s.io/kubernetes
  • Found in: v1.25.3
  • Fixed in: v1.29.14
  • Example Traces:
    1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  1. GO-2023-2102
  • Module: golang.org/x/net
  • Found in: v0.0.0-20220722155237-a158d28d115b
  • Fixed in: v0.17.0
  • Example Traces:
    1. pkg/server/server.go:246:53: server.ServeOnListenerTLS calls server.Serve, which eventually calls http2.ConfigureServer$1
  1. GO-2023-1629
  • Module: k8s.io/kubernetes
  • Found in: v1.25.3
  • Fixed in: v1.25.4
  • Example Traces:
    1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init
  1. GO-2023-1864
  • Module: k8s.io/kubernetes
  • Found in: v1.25.3
  • Fixed in: v1.25.10
  • Example Traces:
    1. test/e2e_scheduler/waitforfirstconsumer.go:17:2: e2e_scheduler.init calls util.init, which eventually calls e2e_scheduler.init

Please review these findings and fix the issues before merging.

@bulwark-spectrocloud bulwark-spectrocloud Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ GoSec scan found code issues:

  1. G115: integer overflow conversion int -> uint16, Severity: HIGH
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/cmd/vclusterctl/log/loading_text.go:121:34
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/lifecycle/lifecycle.go:304:22
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/lifecycle/lifecycle.go:259:22
  2. G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand), Severity: HIGH
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/util/random/rand.go:18:22
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/cmd/vclusterctl/cmd/util.go:157:17
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/cmd/vclusterctl/cmd/util.go:149:19
  3. G109: Potential Integer overflow made by strconv.Atoi result conversion to int16/32, Severity: HIGH
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/lifecycle/lifecycle.go:304:17
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/lifecycle/lifecycle.go:259:17
  4. G601: Implicit memory aliasing in for loop., Severity: MEDIUM
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/test/e2e_scheduler/scheduler.go:127:65
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/test/e2e_scheduler/scheduler.go:27:65
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/lifecycle/lifecycle.go:310:27
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/lifecycle/lifecycle.go:265:27
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/lifecycle/lifecycle.go:168:27
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/lifecycle/lifecycle.go:107:27
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/controllers/resources/pods/util.go:17:78
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/controllers/resources/pods/util.go:14:69
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/controllers/resources/pods/util.go:11:69
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/controllers/resources/nodes/translate.go:175:38
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/controllers/resources/nodes/nodeservice/node_service.go:107:47
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/controllers/resources/configmaps/util.go:17:84
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/controllers/resources/configmaps/util.go:14:75
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/controllers/resources/configmaps/util.go:11:75
      1. File: /home/runner/_work/bulwark/bulwark/target-repo/pkg/controllers/manifests/init.go:280:41
    • ... (truncated), run gosec locally to capture all failure for the rule G601

Please review these findings and fix the issues before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant