VDB
Sign up
MEDIUM6.5

GHSA-m69r-9g56-7mv8

HashiCorp Consul vulnerable to authorization bypass

Quick fix

GHSA-m69r-9g56-7mv8 — github.com/hashicorp/consul: upgrade to the fixed version with the command below.

go get github.com/hashicorp/consul@v1.11.9

Details

HashiCorp Consul and Consul Enterprise versions prior to 1.11.9, 1.12.5, and 1.13.2 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. A specially crafted CSR sent directly to Consul’s internal server agent RPC endpoint can include multiple SAN URI values with additional service names. This issue has been fixed in versions 1.11.9, 1.12.5, and 1.13.2. There are no known workarounds.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/hashicorp/consul
Introduced in: 0Fixed in: 1.11.9
Fixgo get github.com/hashicorp/consul@v1.11.9
Go/github.com/hashicorp/consul
Introduced in: 1.12.0Fixed in: 1.12.5
Fixgo get github.com/hashicorp/consul@v1.12.5
Go/github.com/hashicorp/consul
Introduced in: 1.13.0Fixed in: 1.13.2
Fixgo get github.com/hashicorp/consul@v1.13.2

References