CVE-2018-16886Etcd
High 8.1 No auth needed
Follow: this CVE · Etcd · Etcd We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 4.1% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Jan 14, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Etcd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | go.etcd.io/etcd |
< 0.5.0-alpha.5.0.20190108173120-83c051b701d3 |
0.5.0-alpha.5.0.20190108173120-83c051b701d3 |
go get go.etcd.io/etcd@v0.5.0-alpha.5.0.20190108173120-83c051b701d3 |
| Go | go.etcd.io/etcd |
< 0.5.0-alpha.5.0.20190108173120-83c051b701d3 |
0.5.0-alpha.5.0.20190108173120-83c051b701d3 |
go get go.etcd.io/etcd@v0.5.0-alpha.5.0.20190108173120-83c051b701d3 |
| Go | go.etcd.io/etcd/v3 |
≥ 3.2.0 < 3.2.26 |
3.2.26 |
go get go.etcd.io/etcd/v3@v3.2.26 |
| Go | go.etcd.io/etcd/v3 |
≥ 3.3.0 < 3.3.11 |
3.3.11 |
go get go.etcd.io/etcd/v3@v3.3.11 |
Per OSV / GitHub Advisories (GHSA-h6xx-pmxh-3wgp, GO-2021-0077). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| etcd | etcd | ≥ 3.2.0 < 3.2.26 |
| etcd | etcd | ≥ 3.3.0 < 3.3.11 |
| redhat | enterprise_linux_desktop | 7.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_workstation | 7.0 |
| fedoraproject | fedora | 30 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- github.com Release Notes
- github.com Release Notes
- lists.fedoraproject.org
- lists.fedoraproject.org