NetSight
medium6.5

CVE-2022-40716

HashiCorp Consul vulnerable to authorization bypass

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/hashicorp/consul< 1.11.91.11.9

Affected products

VendorProductAffected versions
HashicorpConsul
before 1.11.9
from 1.12.0 before 1.12.5
from 1.13.0 before 1.13.2

Weakness classification

References