CVE-2021-37219 json
HashiCorp Consul Privilege Escalation Vulnerability
published 2021-09-07 5 y ago modified 2026-09-10 1 mo ago also BIT-consul-2021-37219 , EUVD-2021-2037 , GHSA-ccw8-7688-vqx4 , GO-2022-0593
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/hashicorp/consul 1.8.15, 1.9.9, 1.10.2
- bitnami consul 1.8.15, 1.9.9, 1.10.2
- hashicorp consul 1.8.15, 1.9.9, 1.10.2
- consul Arch Linux 1.10.2-1
arch linux advisories AVG-2360
- github.com/hashicorp/consul@3357e57 commit
- github.com/hashicorp/consul@473edd1 commit
- github.com/hashicorp/consul@ccf8eb1 commit
- github.com/hashicorp/consul#10925 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-37219 updated cvss 8.8
consul: RPC layer allows non-server agents to access server-only functionality
-
Red Hat OpenShift Service Mesh 1 consul Red Hat OpenShift Service Mesh 2.0 consul Red Hat Advanced Cluster Management for Kubernetes 2 consulnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.15% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/consul | >=1.10.1, <1.10.2 >=1.9.0, <1.9.9 <1.8.15 |
1.10.2 1.9.9 1.8.15 |
| bitnami | consul | <1.8.15 >=1.9.0, <1.9.9 >=1.10.0, <1.10.2 |
1.8.15 1.9.9 1.10.2 |
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/hashicorp/consul/pull/10925
web, patch
-
github.com
/hashicorp/consul/commit/3357e57dac9aadabd476f7a14973e47f003c4cf0
web, patch
-
github.com
/hashicorp/consul/commit/473edd1764b6739e2e4610ea5dede4c2bc6009d1
web, patch
-
github.com
/hashicorp/consul/commit/ccf8eb1947357434eb6e66303ddab79f4c9d4103
web, patch
-
security.gentoo.org
/glsa/202207-01
vendor-advisory, web, third-party-advisory, advisory
-
hashicorp.com
/blog/category/consul
web, product, vendor-advisory, advisory
-
discuss.hashicorp.com
/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-37219
advisory, web
-
github.com
/hashicorp/consul
package
-
github.com
/advisories/GHSA-ccw8-7688-vqx4
advisory
Sources
- CVE List CVE-2021-37219
- GitHub Advisory GHSA-ccw8-7688-vqx4
- NVD CVE-2021-37219
- OSV BIT-consul-2021-37219
- OSV GO-2022-0593
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.