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 containerd/containerd to v1.7.18 #5150

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

uniget-bot
Copy link

This PR contains the following updates:

Package Update Change
containerd/containerd patch 1.7.17 -> 1.7.18

Warning

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


Release Notes

containerd/containerd (containerd/containerd)

v1.7.18: containerd 1.7.18

Compare Source

Welcome to the v1.7.18 release of containerd!

The eighteenth patch release for containerd 1.7 contains various updates along
with an updated version of Go. Go 1.22.4 and 1.21.11 include a fix for a symlink
time of check to time of use race condition during directory removal.

Highlights
  • Update Go version to 1.21.11 (#​10298)
  • Remove uses of platforms.Platform alias (#​10277)
  • Migrate log imports to github.com/containerd/log (#​10269)
  • Migrate errdefs package to github.com/containerd/errdefs (#​10266)
  • Fix usage of "unknown" platform (#​10261)

Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.

Contributors
  • Derek McGowan
  • Sebastiaan van Stijn
  • Akhil Mohan
  • Austin Vazquez
  • Phil Estes
Changes
16 commits

  • Prepare release notes for v1.7.18 (#​10301)
    • 9426aab62 Prepare release notes for v1.7.18
  • Update Go version to 1.21.11 (#​10298)
  • Remove uses of platforms.Platform alias (#​10277)
    • 1e3c662d6 [release/1.7] remove uses of platforms.Platform alias
  • Migrate log imports to github.com/containerd/log (#​10269)
    • 0af6825b1 migrate logs imports to github.com/containerd/log module
  • Migrate errdefs package to github.com/containerd/errdefs (#​10266)
    • 308341a44 replace uses of github.com/containerd/containerd/errdefs
    • 47ff8cfce migrate errdefs package to github.com/containerd/errdefs module
  • Fix usage of "unknown" platform (#​10261)
    • f4d11912a core/image: fix usage of "unknown" platform
  • Explicitly set release latest to true (#​10265)
    • 5b0480009 Explicitly set release latest to true
    • d669b100d build(deps): bump softprops/action-gh-release from 1 to 2

Changes from containerd/errdefs
6 commits

Dependency Changes
  • github.com/containerd/errdefs v0.1.0 new
  • google.golang.org/genproto b8732ec -> e6e6cda
  • google.golang.org/genproto/googleapis/api b8732ec -> 007df8e
  • google.golang.org/genproto/googleapis/rpc b8732ec -> d307bd8

Previous release can be found at v1.7.17


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

github-actions bot commented Jun 5, 2024

🔍 Vulnerabilities of ghcr.io/uniget-org/tools/containerd:1.7.18

📦 Image Reference ghcr.io/uniget-org/tools/containerd:1.7.18
digestsha256:8786898c33227829522bf1d8bc751c8adb3b14e135bd83ebcb3a71e2f413d858
vulnerabilitiescritical: 0 high: 1 medium: 1 low: 0
platformlinux/amd64
size49 MB
packages128
critical: 0 high: 1 medium: 0 low: 0 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc 0.45.0 (golang)

pkg:golang/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@0.45.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: 1 low: 0 k8s.io/apiserver 0.26.2 (golang)

pkg:golang/k8s.io/apiserver@0.26.2

medium 4.3: CVE--2020--8552 OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities

Affected range<1.15.10
Fixed version1.15.10, 1.16.7, 1.17.3
CVSS Score4.3
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Description

The Kubernetes API server component has been found to be vulnerable to a denial of service attack via successful API requests.

Copy link

github-actions bot commented Jun 5, 2024

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

Copy link

github-actions bot commented Jun 5, 2024

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

@github-actions github-actions bot merged commit a988927 into main Jun 5, 2024
9 of 10 checks passed
@github-actions github-actions bot deleted the renovate/containerd-containerd-1.7.x branch June 5, 2024 08:31
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.

3 participants