Skip to content
OpenAdvisories
Medium · 6.5 CVE-2022-40716 BIT-consul-2022-40716EUVD-2022-6870GHSA-m69r-9g56-7mv8GO-2022-1029

HashiCorp Consul vulnerable to authorization bypass

Published Sep 23, 2022 · Updated May 27, 2025 · Assigned by mitre

Description

HashiCorp Consul and Consul Enterprise up to 1.11.8, 1.12.4, and 1.13.1 do not check for multiple SAN URI values in a CSR on the internal RPC endpoint, enabling leverage of privileged access to bypass service mesh intentions. Fixed in 1.11.9, 1.12.5, and 1.13.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 —
ReleasePackageFixed inAdvisory
Alpine v3.18 consul 1.13.2-r0 —
Alpine v3.17 consul 1.13.2-r0 —
Alpine v3.16 consul 1.12.5-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling k3d +2 5.6.0-r11 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/consul < 1.11.9 1.11.9 GHSA-m69r-9g56-7mv8
Go github.com/hashicorp/consul >= 1.12.0, < 1.12.5 1.12.5 GHSA-m69r-9g56-7mv8
Go github.com/hashicorp/consul >= 1.13.0, < 1.13.2 1.13.2 GHSA-m69r-9g56-7mv8
Go github.com/hashicorp/consul < 1.11.9 · >= 1.12.0, < 1.12.5 · >= 1.13.0, < 1.13.2 1.11.9, 1.12.5, 1.13.2 GO-2022-1029

References