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 access server-only functionality, enabling privilege escalation.
High CVSS 8.8
- CVE id
- CVE-2021-37219
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Consul Runtimes and servers |
< 1.8.15 >= 1.9.0, < 1.9.9 >= 1.10.0, < 1.10.2 |
1.8.15, 1.9.9, 1.10.2 |
| Consul Enterprise Runtimes and servers |
< 1.8.15 >= 1.9.0, < 1.9.9 >= 1.10.0, < 1.10.2 |
1.8.15, 1.9.9, 1.10.2 |
How to fix it
Consul (Runtimes and servers)
Upgrade Consul to the fixed release of the line you run: 1.8.15, 1.9.9, 1.10.2.
consul version
- Upgrade Consul (the hashicorp/consul image or binary) to the patched release.
Consul Enterprise (Runtimes and servers)
Upgrade Consul Enterprise to the fixed release of the line you run: 1.8.15, 1.9.9, 1.10.2.
consul version
- Upgrade Consul Enterprise (the hashicorp/consul-enterprise image or binary) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2021-37219 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-37219
- Web: https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024
- Web: https://security.gentoo.org/glsa/202207-01
- Web: https://www.hashicorp.com/blog/category/consul
- Web: https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024
- Web: https://security.gentoo.org/glsa/202207-01
- Web: https://www.hashicorp.com/blog/category/consul
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.