{"schema_version":"1.7.3","id":"GHSA-h6xx-pmxh-3wgp","published":"2022-04-12T22:41:32Z","modified":"2026-02-04T02:40:34.305763Z","aliases":["CVE-2018-16886","GO-2021-0077"],"related":["CGA-7rj7-px9h-mv37"],"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.","affected":[{"package":{"name":"go.etcd.io/etcd/v3","ecosystem":"Go","purl":"pkg:golang/go.etcd.io/etcd/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.2.0"},{"fixed":"3.2.26"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-h6xx-pmxh-3wgp/GHSA-h6xx-pmxh-3wgp.json"}},{"package":{"name":"go.etcd.io/etcd/v3","ecosystem":"Go","purl":"pkg:golang/go.etcd.io/etcd/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.3.0"},{"fixed":"3.3.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-h6xx-pmxh-3wgp/GHSA-h6xx-pmxh-3wgp.json"}},{"package":{"name":"go.etcd.io/etcd","ecosystem":"Go","purl":"pkg:golang/go.etcd.io/etcd"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.5.0-alpha.5.0.20190108173120-83c051b701d3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-h6xx-pmxh-3wgp/GHSA-h6xx-pmxh-3wgp.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16886"},{"type":"WEB","url":"https://github.com/etcd-io/etcd/pull/10366"},{"type":"WEB","url":"https://github.com/etcd-io/etcd/commit/0191509637546621d6f2e18e074e955ab8ef374d"},{"type":"WEB","url":"https://github.com/etcd-io/etcd/commit/bf9d0d8291dc71ecbfb2690612954e1a298154b2"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0237"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:1352"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16886"},{"type":"PACKAGE","url":"https://github.com/etcd-io/etcd"},{"type":"WEB","url":"https://github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.2.md#security-authentication"},{"type":"WEB","url":"https://github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.3.md#security-authentication"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0077"},{"type":"WEB","url":"http://www.securityfocus.com/bid/106540"}],"database_specific":{"cwe_ids":["CWE-285","CWE-287"],"github_reviewed":true,"github_reviewed_at":"2021-05-19T21:49:34Z","nvd_published_at":null,"severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}