{"id":"CVE-2021-37219","aliases":["CVE-2021-37219","GHSA-ccw8-7688-vqx4","BIT-CONSUL-2021-37219","GO-2022-0593"],"related":["CGA-w7vj-6rx4-8wxx"],"kind":"vulnerability","state":"published","title":"HashiCorp Consul Privilege Escalation Vulnerability","summary":"HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.","source":"cvelist"},{"lang":"en","text":"HashiCorp Consul Privilege Escalation Vulnerability in github.com/hashicorp/consul","format":"markdown","source":"go"},{"lang":"es","text":"La capa RPC de HashiCorp Consul y Consul Enterprise Raft versión 1.10.1 , permite a agentes que no son servidores con un certificado válido firmado por la misma CA acceder a la funcionalidad server-only, permitiendo una escalada de privilegios. Corregido en 1.8.15, 1.9.9 y 1.10.2","source":"nvd"}],"published":"2021-09-07T11:33:26.000Z","modified":"2026-09-10T03:49:08.760Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.10.1","status":"affected","fixed":"1.10.2"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.9.9"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.15"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.15"},{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.9.9"},{"type":"semver","introduced":"1.10.1","status":"affected","fixed":"1.10.2"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"go"},{"ranges":[{"status":"affected","fixed":"1.8.15"},{"status":"affected","fixed":"1.8.15"},{"status":"affected","introduced":"1.9.0","fixed":"1.9.9"},{"status":"affected","introduced":"1.9.0","fixed":"1.9.9"},{"status":"affected","introduced":"1.10.0","fixed":"1.10.2"},{"status":"affected","introduced":"1.10.0","fixed":"1.10.2"}],"vendor":"hashicorp","product":"consul","cpe":"cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.15"},{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.9.9"},{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.10.2"}],"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","source":"bitnami"}],"references":[{"url":"https://www.hashicorp.com/blog/category/consul","tags":["advisory","product","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202207-01","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37219","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/hashicorp/consul/pull/10925","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/consul/commit/3357e57dac9aadabd476f7a14973e47f003c4cf0","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/consul/commit/473edd1764b6739e2e4610ea5dede4c2bc6009d1","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/consul/commit/ccf8eb1947357434eb6e66303ddab79f4c9d4103","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/consul","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-ccw8-7688-vqx4","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-37219","url":"https://www.cve.org/CVERecord?id=CVE-2021-37219","licence":"CVE Terms of Use","modified":"2024-08-04T01:16:03.813Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ccw8-7688-vqx4","url":"https://github.com/advisories/GHSA-ccw8-7688-vqx4","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:08.760Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0593","url":"https://pkg.go.dev/vuln/GO-2022-0593","licence":"CC-BY-4.0","modified":"2026-02-04T03:38:36.473Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-37219","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37219","licence":"Public domain","modified":"2026-06-17T04:00:17.957Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CONSUL-2021-37219","url":"https://osv.dev/vulnerability/BIT-CONSUL-2021-37219","licence":"Apache-2.0","modified":"2026-09-08T08:45:58.186Z"}],"updatedAt":"2026-11-25T22:58:03.673Z","epss":{"score":0.01149,"percentile":0.67766,"date":"2026-12-01T12:00:22.000Z"}}