VDB
KO
HIGH 7.1

GHSA-hr3v-8cp3-68rf

HashiCorp Consul does not properly validate node or segment names prior to usage in JWT claim assertions

Quick fix

GHSA-hr3v-8cp3-68rf — 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 1.8.1 up to 1.11.8, 1.12.4, and 1.13.1 did not properly validate the node or segment names prior to interpolation and usage in JWT claim assertions with the auto config RPC. Fixed in 1.11.9, 1.12.5, and 1.13.2.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References