Skip to content
OpenAdvisories
High · 8.8 CVE-2021-37219 BIT-consul-2021-37219EUVD-2021-2037GHSA-ccw8-7688-vqx4GO-2022-0593

HashiCorp Consul Privilege Escalation Vulnerability

Published Sep 7, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 consul No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS consul No fix yet —
Ubuntu 20.04 LTS consul No fix yet —
Ubuntu 18.04 LTS consul No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling k3d +2 5.6.0-r11 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/consul >= 1.10.1, < 1.10.2 1.10.2 GHSA-ccw8-7688-vqx4
Go github.com/hashicorp/consul >= 1.9.0, < 1.9.9 1.9.9 GHSA-ccw8-7688-vqx4
Go github.com/hashicorp/consul < 1.8.15 1.8.15 GHSA-ccw8-7688-vqx4
Go github.com/hashicorp/consul < 1.8.15 · >= 1.9.0, < 1.9.9 · >= 1.10.1, < 1.10.2 1.8.15, 1.9.9, 1.10.2 GO-2022-0593

References