Advisory

GHSA-h6xx-pmxh-3wgp

Also known as: CVE-2018-16886, GO-2021-0077

Summary

go.etcd.io/etcd Authentication Bypass

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-04-12 22:41 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

go.etcd.io/etcd/v3

Go · All systems

Affected

  • introduced 3.2.0, fixed 3.2.26 (semver)

Fixed versions

3.2.26

Fix

go.etcd.io/etcd/v3

Go · All systems

Affected

  • introduced 3.3.0, fixed 3.3.11 (semver)

Fixed versions

3.3.11

Fix

go.etcd.io/etcd

Go · All systems

Affected

  • introduced 0, fixed 0.5.0-alpha.5.0.20190108173120-83c051b701d3 (semver)

Fixed versions

0.5.0-alpha.5.0.20190108173120-83c051b701d3

Fix

  • Fixed version 0.5.0-alpha.5.0.20190108173120-83c051b701d3
    go get go.etcd.io/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences