Skip to content

chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.7.1 [security] - #3902

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
go.etcd.io/etcd/client/pkg/v3 v3.7.0 → v3.7.1 age confidence

Unbounded TLS handshake goroutines in go.etcd.io/etcd/client/pkg/v3

BIT-etcd-2026-73500 / CVE-2026-73500 / GHSA-6vch-q96h-7gc3 / GO-2026-6107

More information

Details

In go.etcd.io/etcd/client/pkg/v3 before 3.5.33, 3.6.14, and 3.7.1, TLS handshakes on listeners created by NewTLSListener do not enforce a handshake deadline. An unauthenticated network attacker who connects to an etcd TLS listener without sending a ClientHello causes a goroutine and a tracking map entry to block indefinitely. Opening many such connections exhausts memory, leading to a denial of service.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Release Notes

etcd-io/etcd (go.etcd.io/etcd/client/pkg/v3)

v3.7.1

Compare Source

Please check out CHANGELOG for a full list of changes. And make sure to read upgrade guide before upgrading etcd (there may be breaking changes).

For installation guides, please check out operating etcd. Latest support status for common architectures and operating systems can be found at supported platforms.

Linux
ETCD_VER=v3.7.1

# choose either URL
GOOGLE_URL=https://storage.googleapis.com/etcd
GITHUB_URL=https://github.com/etcd-io/etcd/releases/download
DOWNLOAD_URL=${GOOGLE_URL}

rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test

curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz
tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 --no-same-owner
rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz

/tmp/etcd-download-test/etcd --version
/tmp/etcd-download-test/etcdctl version
/tmp/etcd-download-test/etcdutl version

# start a local etcd server
/tmp/etcd-download-test/etcd

# write,read to etcd
/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 put foo bar
/tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 get foo
macOS (Darwin)
ETCD_VER=v3.7.1

# choose either URL
GOOGLE_URL=https://storage.googleapis.com/etcd
GITHUB_URL=https://github.com/etcd-io/etcd/releases/download
DOWNLOAD_URL=${GOOGLE_URL}

rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip
rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test

curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD_VER}-darwin-amd64.zip
unzip /tmp/etcd-${ETCD_VER}-darwin-amd64.zip -d /tmp && rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip
mv /tmp/etcd-${ETCD_VER}-darwin-amd64/* /tmp/etcd-download-test && rm -rf mv /tmp/etcd-${ETCD_VER}-darwin-amd64

/tmp/etcd-download-test/etcd --version
/tmp/etcd-download-test/etcdctl version
/tmp/etcd-download-test/etcdutl version
Docker

etcd uses gcr.io/etcd-development/etcd as a primary container registry, and quay.io/coreos/etcd as secondary.

ETCD_VER=v3.7.1

rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \
  docker rmi gcr.io/etcd-development/etcd:${ETCD_VER} || true && \
  docker run \
  -p 2379:2379 \
  -p 2380:2380 \
  --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \
  --name etcd-gcr-${ETCD_VER} \
  gcr.io/etcd-development/etcd:${ETCD_VER} \
  /usr/local/bin/etcd \
  --name s1 \
  --data-dir /etcd-data \
  --listen-client-urls http://0.0.0.0:2379 \
  --advertise-client-urls http://0.0.0.0:2379 \
  --listen-peer-urls http://0.0.0.0:2380 \
  --initial-advertise-peer-urls http://0.0.0.0:2380 \
  --initial-cluster s1=http://0.0.0.0:2380 \
  --initial-cluster-token tkn \
  --initial-cluster-state new \
  --log-level info \
  --logger zap \
  --log-outputs stderr

docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcd --version
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl version
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdutl version
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl endpoint health
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl put foo bar
docker exec etcd-gcr-${ETCD_VER} /usr/local/bin/etcdctl get foo

Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added automated Created by automation security Security-related issues and features labels Aug 18, 2026
@renovate renovate Bot added security Security-related issues and features automated Created by automation labels Aug 18, 2026
@github-actions github-actions Bot added size/XS This PR changes 0-9 lines, ignoring generated files area/dependencies Dependency bumps (Renovate, go.mod); scope `deps` kind/cleanup Categorizes issue or PR as related to cleanup of code, process, or technical debt labels Aug 18, 2026
@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch from 9ad2417 to e7c8ce7 Compare August 26, 2026 10:25
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed Aug 28, 2026
@renovate renovate Bot closed this Aug 28, 2026
@renovate
renovate Bot deleted the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch August 28, 2026 08:55
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] Aug 28, 2026
@renovate renovate Bot reopened this Aug 28, 2026
@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch from e7c8ce7 to 0a0c97a Compare August 28, 2026 10:14
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed Aug 31, 2026
@renovate renovate Bot closed this Aug 31, 2026
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] Aug 31, 2026
@renovate renovate Bot reopened this Aug 31, 2026
@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch 2 times, most recently from 0a0c97a to 0521304 Compare August 31, 2026 08:21
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed Sep 1, 2026
@renovate renovate Bot closed this Sep 1, 2026
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] Sep 1, 2026
@renovate renovate Bot reopened this Sep 1, 2026
@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch 2 times, most recently from 0521304 to 849343f Compare September 1, 2026 13:33
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed Sep 2, 2026
@renovate renovate Bot closed this Sep 2, 2026
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] Sep 2, 2026
@renovate renovate Bot reopened this Sep 2, 2026
@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch 3 times, most recently from 483074b to c4ba0d5 Compare September 7, 2026 16:27
@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch from c4ba0d5 to 7472e92 Compare September 15, 2026 09:49
@coderabbitai

coderabbitai Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: cozystack/cozystack/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c91f7d62-fa7d-4cc2-bcdf-09047f94e1af

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch from 7472e92 to 65faad6 Compare September 16, 2026 10:52
@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch 2 times, most recently from bd0a73a to e1ab45e Compare September 24, 2026 09:31
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed Sep 24, 2026
@renovate renovate Bot closed this Sep 24, 2026
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] Sep 24, 2026
@renovate renovate Bot reopened this Sep 24, 2026
@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch 2 times, most recently from e1ab45e to 057ba6d Compare September 24, 2026 16:25
Aleksei Sviridkin (lexfrei) added a commit that referenced this pull request Sep 26, 2026
…4447)

## What this PR does

This replaces the open Renovate PRs with one rollup. Go modules move to
their newest releases that keep the Kubernetes libraries and
controller-runtime where they are, the toolchain and builder images move
to Go 1.27.1, and the first-party code gets the Go 1.27 modernizers.
Tests for the code the bumps touch come first, in their own commits, and
pass on both the old and the new dependencies.

Before the bumps:

- The e2e sandbox image builds again: dl.min.io answers 410 for mc since
MinIO archived it, so mc now comes from its last GitHub release with a
pinned checksum.
- Renovate stops offering tags of the apimachinery fork. They mirror
upstream, so #2999 is a downgrade that drops our patch.
- `make unit-tests` now runs the tests of the nested Go modules
(kubevirt-csi-driver, token-proxy, kubeovn-webhook, api/apps/v1alpha1).
They never ran in CI before.
- New tests: JWT verification in the dashboard token proxy, the kube-ovn
plunger metrics, cert-manager object idempotency in the tenant gateway,
values-file layering in the operator, and the kubevirt CSI driver
wrapper.
- One real fix. The lineage webhook decoded admitted objects with
encoding/json, so an int64 above 2^53 came back rounded. jsonpatch v2.5
compares numbers exactly and would emit a replace that rewrites such a
field in the pod. The webhook now decodes with apimachinery's json.

Held back on purpose, with the reasons in the commit messages:

- Kubernetes libraries stay on v0.35. #3001 needs the apimachinery fork
rebased onto release-1.37 first.
- cel-go v0.29.2 and etcd v3.6.15, the lines k8s.io/apiserver v0.35 is
built and tested with.
- grpc v1.83.2. v1.84.0 is affected by GO-2026-6443 and no v1.84 patch
release carries the fix yet.
- kubevirt.io/api and the CDI API stay on what upstream csi-driver
builds against. From CDI v1.60 it no longer compiles.
- api/apps/v1alpha1 keeps go 1.26.4, so consumers of the published types
are not forced onto Go 1.27.
- go fix runs without embedlit (Go 1.27-only syntax, breaks backports to
release branches on Go 1.26) and omitzero (would make metadata, spec and
status required in the published OpenAPI schemas), and one errorsastype
rewrite that did not compile is left out.

govulncheck reports nothing reachable in any of the five modules,
standard library included.

Supersedes #4311, #4310, #4309, #3452, #3993, #3927, #3902, #3805,
#3451, #3415, #3414, #3413, #3302, #4050 and #3363. #3001 stays open.

Not checked locally: the images that build upstream projects (kube-ovn,
kamaji, cilium, linstor-csi and others) with the Go 1.27 builder. The
image build jobs of this PR cover them.

Closes #4487.

### Screenshots

No UI changes.

### Downstream repositories

- [x] No downstream repository is affected by this change
- [ ] [cozystack/website](https://github.com/cozystack/website) -
follow-up:
- [ ]
[cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack)
- follow-up:
- [ ]
[cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack)
- follow-up:
- [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up:
- [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up:
- [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) -
follow-up:
- [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) -
follow-up:
- [ ]
[cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server)
- follow-up:
- [ ]
[cozystack/external-apps-example](https://github.com/cozystack/external-apps-example)
- follow-up:
- [ ] [cozystack/examples](https://github.com/cozystack/examples) -
follow-up:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:

### Release note

```release-note
chore(deps): move the toolchain and builder images to Go 1.27.1 and raise Go dependencies to their latest compatible releases, closing the published advisories; the lineage webhook no longer rewrites int64 fields above 2^53 in admitted objects.
```


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Added a restore resource policy option for Velero strategies.
  * Added a test target to run Go tests across tracked modules.
* **Bug Fixes**
* Updated the end-to-end test environment to download and verify the
MinIO client from its current release location.
* Added coverage for token validation, webhook patching, controller
behavior, and reconciliation.
* **Maintenance**
* Updated the Go toolchain, dependencies, and container image versions.
  * Refreshed pinned workflow actions and base image digests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed Sep 26, 2026
@renovate renovate Bot closed this Sep 26, 2026
@renovate renovate Bot changed the title chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.6.14 [security] - autoclosed chore(deps): update module go.etcd.io/etcd/client/pkg/v3 to v3.7.1 [security] Oct 2, 2026
@renovate renovate Bot reopened this Oct 2, 2026
@renovate
renovate Bot force-pushed the renovate/go-go.etcd.io-etcd-client-pkg-v3-vulnerability branch 2 times, most recently from 057ba6d to a0591f0 Compare October 2, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependencies Dependency bumps (Renovate, go.mod); scope `deps` automated Created by automation kind/cleanup Categorizes issue or PR as related to cleanup of code, process, or technical debt security Security-related issues and features size/XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants