GitHub Advisoryadvisory · Go

GHSA-h6xx-pmxh-3wgp go.etcd.io/etcd Authentication Bypass

HIGH Published 2022-04-12 Modified 2023-08-30 Official page ↗
Aliases
CVE-2018-16886
Ecosystem
Go
Packages
go.etcd.io/etcd/v3, go.etcd.io/etcd
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-285, CWE-287
Reviewed
2021-05-19

Affected packages

• Go go.etcd.io/etcd/v3: >= 3.2.0, < 3.2.26 → fixed in 3.2.26 • Go go.etcd.io/etcd/v3: >= 3.3.0, < 3.3.11 → fixed in 3.3.11 • Go go.etcd.io/etcd: < 0.5.0-alpha.5.0.20190108173120-83c051b701d3 → fixed in 0.5.0-alpha.5.0.20190108173120-83c051b701d3

Description

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.

Related

Alias · CVE (1)

  • CVE-2018-16886 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… vulnerability

Weakness · CWE (2)

  • CWE-285 Improper Authorization weakness
  • CWE-287 Improper Authentication weakness

References