Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency kubernetes-sigs/cri-tools to v1.30.0 #4236

Merged
merged 1 commit into from Apr 18, 2024

Conversation

uniget-bot
Copy link

This PR contains the following updates:

Package Update Change
kubernetes-sigs/cri-tools minor 1.29.0 -> 1.30.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

kubernetes-sigs/cri-tools (kubernetes-sigs/cri-tools)

v1.30.0

Compare Source

Changes by Kind

Feature
  • Added --transport / -r flag to crictl exec and attach to select between the "spdy" (default) and "websocket" transport. (#​1383, @​saschagrunert)

  • Added --transport / -r flag to crictl port-forward and attach to select between the "spdy" (default) and "websocket" transport. (#​1385, @​saschagrunert)

  • Added support for OTEL tracing via the new CLI flags --enable-tracing, --tracing-endpoint and --tracing-sampling-rate-per-million. (#​1319, @​saschagrunert)

  • Added user namespaces tests to critest. The tests try to find a working runtime handler and automatically skip if not existing. (#​1354, @​saschagrunert)

  • Changed default behaviour in rm command to also delete the container's log file.
    Added --keeplogs, -k option to the rm command to preserve logs. (#​1367, @​fformica)

  • Crictl rmi will not remove pinned images on --prune (#​1360, @​sondavidb)

  • Implemented the --filter flag for crictl images command.
    The following filters are available:

    1. dangling=(true/false)
    2. reference=regex
    3. before=<image-name>[:<tag>]|<image id>|<image@digest>
    4. since=<image-name>[:<tag>]|<image id>|<image@digest> (#​1359, @​roman-kiselenko)
  • Support Recursive Read-only (RRO) mounts (KEP-3857) (#​1344, @​AkihiroSuda)

Documentation
Other (Cleanup or Flake)

Dependencies

Added
  • github.com/fxamacker/cbor/v2: v2.6.0
  • github.com/x448/float16: v0.8.4
  • golang.org/x/telemetry: b75ee88
  • k8s.io/gengo/v2: 51d4e06
  • sigs.k8s.io/knftables: v0.0.14
Changed
  • cloud.google.com/go/compute: v1.23.0 → v1.24.0
  • github.com/cenkalti/backoff/v4: v4.2.1 → v4.3.0
  • github.com/cncf/xds/go: e9ce688 → 0fa0005
  • github.com/distribution/reference: v0.5.0 → v0.6.0
  • github.com/docker/docker: v24.0.7+incompatible → v26.0.1+incompatible
  • github.com/envoyproxy/go-control-plane: v0.11.1 → v0.12.0
  • github.com/envoyproxy/protoc-gen-validate: v1.0.2 → v1.0.4
  • github.com/go-logr/logr: v1.3.0 → v1.4.1
  • github.com/go-logr/zapr: v1.2.3 → v1.3.0
  • github.com/golang/glog: v1.1.0 → v1.2.0
  • github.com/golang/protobuf: v1.5.3 → v1.5.4
  • github.com/google/cadvisor: v0.48.1 → v0.49.0
  • github.com/google/cel-go: v0.17.7 → v0.17.8
  • github.com/google/uuid: v1.4.0 → v1.6.0
  • github.com/grpc-ecosystem/grpc-gateway/v2: v2.16.0 → v2.19.0
  • github.com/onsi/ginkgo/v2: v2.13.2 → v2.17.1
  • github.com/onsi/gomega: v1.30.0 → v1.32.0
  • github.com/opencontainers/runc: v1.1.10 → v1.1.12
  • github.com/stretchr/testify: v1.8.4 → v1.9.0
  • github.com/urfave/cli/v2: v2.26.0 → v2.27.1
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.19.0 → v1.25.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.19.0 → v1.25.0
  • go.opentelemetry.io/otel/metric: v1.19.0 → v1.25.0
  • go.opentelemetry.io/otel/sdk: v1.19.0 → v1.25.0
  • go.opentelemetry.io/otel/trace: v1.19.0 → v1.25.0
  • go.opentelemetry.io/otel: v1.19.0 → v1.25.0
  • go.opentelemetry.io/proto/otlp: v1.0.0 → v1.1.0
  • go.uber.org/goleak: v1.2.1 → v1.3.0
  • go.uber.org/zap: v1.19.0 → v1.26.0
  • golang.org/x/crypto: v0.16.0 → v0.22.0
  • golang.org/x/mod: v0.13.0 → v0.15.0
  • golang.org/x/net: v0.19.0 → v0.24.0
  • golang.org/x/oauth2: v0.10.0 → v0.17.0
  • golang.org/x/sync: v0.4.0 → v0.6.0
  • golang.org/x/sys: v0.15.0 → v0.19.0
  • golang.org/x/term: v0.15.0 → v0.19.0
  • golang.org/x/tools: v0.14.0 → v0.18.0
  • google.golang.org/appengine: v1.6.7 → v1.6.8
  • google.golang.org/genproto/googleapis/api: 23370e06ceb2ff
  • google.golang.org/genproto/googleapis/rpc: b8732ecc3f9821
  • google.golang.org/genproto: f966b186ceb2ff
  • google.golang.org/grpc: v1.58.3 → v1.63.0
  • google.golang.org/protobuf: v1.31.0 → v1.33.0
  • k8s.io/klog/v2: v2.110.1 → v2.120.1
  • k8s.io/kube-openapi: 2dd684a70dd376
  • k8s.io/kubernetes/staging/src/k8s.io/api: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/apiextensions-apiserver: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/apimachinery: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/apiserver: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/cli-runtime: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/client-go: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/cloud-provider: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/cluster-bootstrap: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/code-generator: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/component-base: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/component-helpers: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/controller-manager: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/cri-api: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/csi-translation-lib: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/dynamic-resource-allocation: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/endpointslice: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/kms: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/kube-aggregator: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/kube-controller-manager: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/kube-proxy: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/kube-scheduler: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/kubectl: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/kubelet: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/legacy-cloud-providers: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/metrics: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/mount-utils: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/pod-security-admission: e4636d0634fc1b
  • k8s.io/kubernetes/staging/src/k8s.io/sample-apiserver: e4636d0634fc1b
  • k8s.io/kubernetes: v1.29.0-rc.2 → v1.30.0-beta.0
  • sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.28.0 → v0.29.0
Removed
  • github.com/Azure/azure-sdk-for-go: v68.0.0+incompatible
  • github.com/Azure/go-autorest/autorest/adal: v0.9.23
  • github.com/Azure/go-autorest/autorest/date: v0.3.0
  • github.com/Azure/go-autorest/autorest/mocks: v0.4.2
  • github.com/Azure/go-autorest/autorest/to: v0.4.0
  • github.com/Azure/go-autorest/autorest/validation: v0.3.1
  • github.com/Azure/go-autorest/autorest: v0.11.29
  • github.com/Azure/go-autorest/logger: v0.2.1
  • github.com/Azure/go-autorest/tracing: v0.6.0
  • github.com/Azure/go-autorest: v14.2.0+incompatible
  • github.com/cncf/udpa/go: c52dc94
  • github.com/danwinship/knftables: v0.0.13
  • github.com/gofrs/uuid: v4.4.0+incompatible
  • github.com/rubiojr/go-vhd: 02e2102
  • github.com/vmware/govmomi: v0.30.6
  • go.uber.org/atomic: v1.10.0
  • k8s.io/gengo: 9cce18d

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copy link

@nicholasdille-bot nicholasdille-bot left a comment

Choose a reason for hiding this comment

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

Auto-approved because label type/renovate is present.

Copy link

🔍 Vulnerabilities of ghcr.io/uniget-org/tools/crictl:1.30.0

📦 Image Reference ghcr.io/uniget-org/tools/crictl:1.30.0
digestsha256:524f6f2f7ad9925f114107dd2a0e1b78c655a4b09f6047d26b69d82cbe868344
vulnerabilitiescritical: 0 high: 1 medium: 0 low: 0 unspecified: 1
platformlinux/amd64
size26 MB
packages86
critical: 0 high: 1 medium: 0 low: 0 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc 0.42.0 (golang)

pkg:golang/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@0.42.0

high 7.5: CVE--2023--47108 Allocation of Resources Without Limits or Throttling

Affected range<0.46.0
Fixed version0.46.0
CVSS Score7.5
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Description

Summary

The grpc Unary Server Interceptor opentelemetry-go-contrib/instrumentation/google.golang.org/grpc/otelgrpc/interceptor.go

// UnaryServerInterceptor returns a grpc.UnaryServerInterceptor suitable
// for use in a grpc.NewServer call.
func UnaryServerInterceptor(opts ...Option) grpc.UnaryServerInterceptor {

out of the box adds labels

  • net.peer.sock.addr
  • net.peer.sock.port

that have unbound cardinality. It leads to the server's potential memory exhaustion when many malicious requests are sent.

Details

An attacker can easily flood the peer address and port for requests.

PoC

Apply the attached patch to the example and run the client multiple times. Observe how each request will create a unique histogram and how the memory consumption increases during it.

Impact

In order to be affected, the program has to configure a metrics pipeline, use UnaryServerInterceptor, and does not filter any client IP address and ports via middleware or proxies, etc.

Others

It is similar to already reported vulnerabilities.

Workaround for affected versions

As a workaround to stop being affected, a view removing the attributes can be used.

The other possibility is to disable grpc metrics instrumentation by passing otelgrpc.WithMeterProvider option with noop.NewMeterProvider.

Solution provided by upgrading

In PR #4322, to be released with v0.46.0, the attributes were removed.

References

critical: 0 high: 0 medium: 0 low: 0 unspecified: 1stdlib 1.22.1 (golang)

pkg:golang/stdlib@1.22.1

unspecified : CVE--2023--45288

Affected range>=1.22.0-0
<1.22.2
Fixed version1.22.2
Description

An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames.

Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are still parsed.

This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send.

The fix sets a limit on the amount of excess header frames we will process before closing a connection.

Copy link

Attempting automerge. See https://github.com/uniget-org/tools/actions/runs/8736916112.

Copy link

PR is clean and can be merged. See https://github.com/uniget-org/tools/actions/runs/8736916112.

@github-actions github-actions bot merged commit ba12cc9 into main Apr 18, 2024
12 of 13 checks passed
@github-actions github-actions bot deleted the renovate/kubernetes-sigs-cri-tools-1.x branch April 18, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants