RATATOSK
← All releases

etcdv3.4.40

Security 2Important fixes 2Dependency updates 1Other changes 1

Get etcd alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Check before upgrading

Upgrade guide1
Upgrade guide for potential breaking changes
Please check out [CHANGELOG](https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md) for a full list of changes. And make sure to read [upgrade guide](https://etcd.io/docs/v3.4/upgrades/upgrade_3_4/) before upgrading etcd (there may be breaking changes).
github.com/etcd-io/etcd/releases/tag/v3.4.40

Security2

etcd authentication logs replace tokens with fingerprints

Affectsetcd server authentication(Inferred)

Affected log messages previously included the original token, including messages for invalid or assigned JWTs, authentication, invalid auth tokens, and already-used or deleted simple tokens. They now log the token’s first 12 SHA-256 hexadecimal characters, except simple-token deletion messages, which omit it; authentication responses still return the token.

Show release-note lines
- [Print token fingerprint instead of the original tokens in log messages](https://github.com/etcd-io/etcd/pull/20943)
github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md

SSH server and agent flaws fixed in golang.org/x/crypto

AffectsSSH Agent servers processing new identity requests and SSH servers parsing GSSAPI authentication requests

Malformed new identity requests could cause SSH Agent servers to panic, while GSSAPI authentication requests could cause SSH servers to consume unbounded memory. The release updates golang.org/x/crypto to v0.45.0 to address both issues; the note does not say whether etcd itself uses either SSH function.

Show release-note lines
- Bump [golang.org/x/crypto to 0.45.0 to address CVE-2025-47914, and CVE-2025-58181](https://github.com/etcd-io/etcd/pull/21022).
github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md

Important fixes2

  • Pseudo-version reports avoided in Scripts/build-binary.sh builds
    Affectsbuilds made using Scripts/build-binary.sh

    Before this change, go version could report a pseudo-version when building through the script without buildvcs=false.

    - [Scripts/build-binary.sh: use `buildvcs=false` to avoid having a pseudo-version reported by `go version`](https://github.com/etcd-io/etcd/pull/20950)
    github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md
  • Incorrect binary version reporting fixed in release script
    Affectsbuilds performed using scripts/release.sh

    When scripts/release.sh called ./build directly, the version reported in the binary could be wrong. Its build invocation now sets GO_BUILD_FLAGS="-v -buildvcs=false" to address that.

    - [Use buildvcs=false in release script](https://github.com/etcd-io/etcd/pull/21028)
    github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.4.md

Dependency updates1

    1 more, none mentioning security
    • - Compile binaries using [go 1.24.11](https://github.com/etcd-io/etcd/pull/21000).
    Other changes1
    • Container registry and Docker usage details
      etcd uses [`gcr.io/etcd-development/etcd`](https://gcr.io/etcd-development/etcd) as a primary container registry, and [`quay.io/coreos/etcd`](https://quay.io/coreos/etcd) as secondary.
      ```sh
      ETCD_VER=v3.4.40
      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
      ```
      github.com/etcd-io/etcd/releases/tag/v3.4.40

    Summaries are produced by AI, so they can be wrong, and they are provided without warranty.