CVE-2021-37219
consul: RPC layer allows non-server agents to access server-only functionality
Overview
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-295
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | consul | <1.8.15>=1.9.0, <1.9.9>=1.10.0, <1.10.2 | 1.8.151.9.91.10.2 |
| Go | github.com/hashicorp/consul | >=1.10.1, <1.10.2>=1.9.0, <1.9.9<1.8.15 | 1.10.21.9.91.8.15 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Photon OS 2 releases · 2 packages
fixed 2
consul
telegraf
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | consul | 1.9.8-2.ph4 |
| 5.0 | telegraf | 1.27.1-1.ph5 |
chainguard 1 release · 1 package
fixed 1
k3d
| Release | Package | Fixed in |
|---|---|---|
| k3d | 5.6.0-r11 |
debian 2 releases · 1 package
affected 2
consul
| Release | Package | Fixed in |
|---|---|---|
| 10 | consul | affected |
| 11 | consul | affected |
wolfi 1 release · 1 package
fixed 1
k3d
| Release | Package | Fixed in |
|---|---|---|
| k3d | 5.6.0-r11 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-37219
- discuss.hashicorp.com https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024
- github.com https://github.com/hashicorp/consul
- github.com https://github.com/hashicorp/consul/commit/3357e57dac9aadabd476f7a14973e47f003c4cf0
- github.com https://github.com/hashicorp/consul/commit/473edd1764b6739e2e4610ea5dede4c2bc6009d1
- github.com https://github.com/hashicorp/consul/commit/ccf8eb1947357434eb6e66303ddab79f4c9d4103
- github.com https://github.com/hashicorp/consul/pull/10925
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-37219
- security.gentoo.org https://security.gentoo.org/glsa/202207-01
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-37219
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.