CVE-2021-37219
HIGH 8.8CVSS 3.1HashiCorp Consul Privilege Escalation Vulnerability
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.
- Published
- 7 Sep 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- BIT-consul-2021-37219GHSA-ccw8-7688-vqx4GO-2022-0593
- Sources
- NVDJSONOSV GHSA-ccw8-7688-vqx4JSONOSV GO-2022-0593JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
< 1.8.15 | 1.8.15 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
< 1.8.15 | 1.8.15 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.9.0, < 1.9.9 | 1.9.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.9.0, < 1.9.9 | 1.9.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.10.0, < 1.10.2 | 1.10.2 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.10.0, < 1.10.2 | 1.10.2 |
| OSV | Go | github.com/hashicorp/consul | >= 1.10.1, < 1.10.2 | 1.10.2 |
| OSV | Go | github.com/hashicorp/consul | >= 1.9.0, < 1.9.9 | 1.9.9 |
| OSV | Go | github.com/hashicorp/consul | < 1.8.15 | 1.8.15 |
| OSV | Go | github.com/hashicorp/consul | < 1.8.15; >= 1.9.0, < 1.9.9; >= 1.10.1, < 1.10.2 | 1.8.15, 1.9.9, 1.10.2 |
References
- https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024 · Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202207-01 · Third Party Advisory, WEB
- https://www.hashicorp.com/blog/category/consul · Product, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-37219 · ADVISORY
- https://github.com/hashicorp/consul/pull/10925 · WEB, FIX
- https://github.com/hashicorp/consul/commit/3357e57dac9aadabd476f7a14973e47f003c4cf0 · WEB, FIX
- https://github.com/hashicorp/consul/commit/473edd1764b6739e2e4610ea5dede4c2bc6009d1 · WEB, FIX
- https://github.com/hashicorp/consul/commit/ccf8eb1947357434eb6e66303ddab79f4c9d4103 · WEB, FIX
- https://github.com/hashicorp/consul · PACKAGE
- https://github.com/advisories/GHSA-ccw8-7688-vqx4 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Sep 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Sep 2021)