VDB
Sign up
HIGH8.1

GHSA-h6xx-pmxh-3wgp

go.etcd.io/etcd Authentication Bypass

Quick fix

GHSA-h6xx-pmxh-3wgp — go.etcd.io/etcd/v3: upgrade to the fixed version with the command below.

go get go.etcd.io/etcd/v3@v3.2.26

Details

etcd versions 3.2.x before 3.2.26 and 3.3.x before 3.3.11 are vulnerable to an improper authentication issue when role-based access control (RBAC) is used and client-cert-auth is enabled. If an etcd client server TLS certificate contains a Common Name (CN) which matches a valid RBAC username, a remote attacker may authenticate as that user with any valid (trusted) client certificate in a REST API request to the gRPC-gateway.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/go.etcd.io/etcd/v3
Introduced in: 3.2.0Fixed in: 3.2.26
Fixgo get go.etcd.io/etcd/v3@v3.2.26
Go/go.etcd.io/etcd/v3
Introduced in: 3.3.0Fixed in: 3.3.11
Fixgo get go.etcd.io/etcd/v3@v3.3.11
Go/go.etcd.io/etcd
Introduced in: 0Fixed in: 0.5.0-alpha.5.0.20190108173120-83c051b701d3
Fixgo get go.etcd.io/etcd@v0.5.0-alpha.5.0.20190108173120-83c051b701d3

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/go.etcd.io/etcd/v3"]}'