Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/consul
  4. ›
  5. CVE-2021-37219

CVE-2021-37219: Improper Certificate Validation

September 7, 2021 (updated September 8, 2022)

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

  • discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024
  • github.com/advisories/GHSA-ccw8-7688-vqx4
  • nvd.nist.gov/vuln/detail/CVE-2021-37219
  • www.hashicorp.com/blog/category/consul

Code Behaviors & Features

Detect and mitigate CVE-2021-37219 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.8.15, all versions starting from 1.9.0 before 1.9.9, all versions starting from 1.10.0 before 1.10.2

Fixed versions

  • 1.8.15
  • 1.9.9
  • 1.10.2

Solution

Upgrade to versions 1.8.15, 1.9.9, 1.10.2 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

go/github.com/hashicorp/consul/CVE-2021-37219.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:43 +0000.