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 (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
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | etcd | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | etcd | Fix pending | UBUNTU-CVE-2018-16886 | |
| Ubuntu 16.04 | etcd | Not affected vulnerable_code_not_present | ||
| Debian 14 | etcd | Fixed | 3.2.26+dfsg-1 | DEBIAN-CVE-2018-16886 |
| Debian 13 | etcd | Fixed | 3.2.26+dfsg-1 | DEBIAN-CVE-2018-16886 |
| Debian 12 | etcd | Fixed | 3.2.26+dfsg-1 | DEBIAN-CVE-2018-16886 |
| Red Hat Enterprise Linux 7 | etcd3 | Not affected | ||
| Go library | go.etcd.io/etcd | Fixed | 0.5.0-alpha.5.0.20190108173120-83c051b701d3 | GO-2021-0077 |
| Go library | go.etcd.io/etcd/v3 | Fixed | 3.2.26 | GHSA-h6xx-pmxh-3wgp |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The etcd Project etcd:: affected: versions 3.2.x before 3.2.26 and 3.3.x before 3.3.11
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2019:0237 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:1352 (vendor-advisory)
References
- https://github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.3.md#security-authentication
- http://www.securityfocus.com/bid/106540
- https://github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.2.md#security-authentication
- https://access.redhat.com/errata/RHSA-2019:0237
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16886
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4/
- https://access.redhat.com/errata/RHSA-2019:1352
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.