{"answers":{"affected":"7 open source packages ship an affected version, including go.etcd.io/etcd/v3 and go.etcd.io/etcd. It affects 5 products.","exploited":"There is no known exploitation of CVE-2018-16886 in the wild and no public exploit code.","fix":"Upgrade go.etcd.io/etcd/v3 to a fixed version for your release line: 3.2.26 or 3.3.11.","what":"CVE-2018-16886 is a medium-severity authentication bypass vulnerability in Fedoraproject Fedora, published on 14 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-16886 and fix it if it is affected.\n\nWhat it is: CVE-2018-16886 is a medium-severity authentication bypass vulnerability in Fedoraproject Fedora, published on 14 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-16886 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- go.etcd.io/etcd/v3 (Go): affected from 3.2.0; fixed in 3.2.26\n- go.etcd.io/etcd/v3 (Go): affected from 3.2.0; fixed in 3.2.26\n- go.etcd.io/etcd/v3 (Go): affected from 3.3.0; fixed in 3.3.11\n- go.etcd.io/etcd/v3 (Go): affected from 3.3.0; fixed in 3.3.11\n- go.etcd.io/etcd (Go): affected all versions; fixed in 0.5.0-alpha.5.0.20190108173120-83c051b701d3\n- go.etcd.io/etcd (Go): affected all versions; fixed in 0.5.0-alpha.5.0.20190108173120-83c051b701d3\n- go.etcd.io/etcd (Go): affected all versions; fixed in 0.5.0-alpha.5.0.20190108173120-83c051b701d3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-16886/ (Markdown: https://insights.sbomify.com/CVE-2018-16886/index.md)","id":"CVE-2018-16886","markdown":"https://insights.sbomify.com/CVE-2018-16886/index.md","name":"CVE-2018-16886","record":{"aliases":["DEBIAN-CVE-2018-16886","GHSA-h6xx-pmxh-3wgp","GO-2021-0077","RHSA-2019:1352","UBUNTU-CVE-2018-16886"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"etcd distributed key-value store","requires_auth":"low_privilege","summary":"Attackers can bypass authentication and gain unauthorized access to etcd data if RBAC and client-cert-auth are enabled with matching Common Names.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"etcd","vendor":"etcd"},{"product":"fedora","vendor":"fedoraproject"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"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.","ecosystems":["Go","Red Hat:rhel_extras_other:7"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"go.etcd.io/etcd Authentication Bypass","id":"CVE-2018-16886","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"fedoraproject:fedora","products":["fedoraproject:fedora","redhat:enterprise_linux_desktop","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation"],"type":"auth_bypass","year":"2018"},"n_packages":9,"n_references":8,"next":{"headline":"katello Cross-site Scripting vulnerability","id":"CVE-2018-16887"},"packages":[{"ecosystem":"Go","fixed":["0.5.0-alpha.5.0.20190108173120-83c051b701d3"],"introduced":["0"],"last_affected":[],"package":"go.etcd.io/etcd","purl":null,"source":"GHSA-h6xx-pmxh-3wgp"},{"ecosystem":"Go","fixed":["0.5.0-alpha.5.0.20190108173120-83c051b701d3"],"introduced":["0"],"last_affected":[],"package":"go.etcd.io/etcd","purl":"pkg:golang/go.etcd.io/etcd","source":"GHSA-h6xx-pmxh-3wgp"},{"ecosystem":"Go","fixed":["0.5.0-alpha.5.0.20190108173120-83c051b701d3"],"introduced":["0"],"last_affected":[],"package":"go.etcd.io/etcd","purl":"pkg:golang/go.etcd.io/etcd","source":"GO-2021-0077"},{"ecosystem":"Go","fixed":["3.2.26"],"introduced":["3.2.0"],"last_affected":[],"package":"go.etcd.io/etcd/v3","purl":null,"source":"GHSA-h6xx-pmxh-3wgp"},{"ecosystem":"Go","fixed":["3.2.26"],"introduced":["3.2.0"],"last_affected":[],"package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","source":"GHSA-h6xx-pmxh-3wgp"},{"ecosystem":"Go","fixed":["3.3.11"],"introduced":["3.3.0"],"last_affected":[],"package":"go.etcd.io/etcd/v3","purl":null,"source":"GHSA-h6xx-pmxh-3wgp"},{"ecosystem":"Go","fixed":["3.3.11"],"introduced":["3.3.0"],"last_affected":[],"package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","source":"GHSA-h6xx-pmxh-3wgp"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:3.2.26-1.el7"],"introduced":["0"],"last_affected":[],"package":"etcd","purl":"pkg:rpm/redhat/etcd","source":"RHSA-2019:1352"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:3.2.26-1.el7"],"introduced":["0"],"last_affected":[],"package":"etcd-debuginfo","purl":"pkg:rpm/redhat/etcd-debuginfo","source":"RHSA-2019:1352"}],"prev":{"headline":"Memory corruption in kernel","id":"CVE-2018-16885"},"products":["etcd:"],"published":"2019-01-14","related":[{"cvss_score":9.8,"headline":"Etcd-io Improper Authentication vulnerability","id":"CVE-2021-28235","kev_date_added":null,"published":"2023-04-04"},{"cvss_score":8.8,"headline":"etcd: Authorization bypasses in multiple APIs","id":"CVE-2026-33413","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2022-34038","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":6.5,"headline":"etcd: gRPC client listener does not enforce `--client-crl-file` certificate revocation","id":"CVE-2026-59818","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":6.5,"headline":"Improper Input Validation in etcd","id":"CVE-2020-15106","kev_date_added":null,"published":"2020-08-05"},{"cvss_score":6.5,"headline":"Improper Input Validation in etcd","id":"CVE-2020-15112","kev_date_added":null,"published":"2020-08-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["The etcd Project"]},"summary":"Attackers can bypass authentication and gain unauthorized access to etcd data if RBAC and client-cert-auth are enabled with matching Common Names.","url":"https://insights.sbomify.com/CVE-2018-16886/"}