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.9Details
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.9Fix
go get github.com/hashicorp/consul@v1.11.9Go/github.com/hashicorp/consul
Introduced in:
1.12.0Fixed in: 1.12.5Fix
go get github.com/hashicorp/consul@v1.12.5Go/github.com/hashicorp/consul
Introduced in:
1.13.0Fixed in: 1.13.2Fix
go get github.com/hashicorp/consul@v1.13.2References
- https://nvd.nist.gov/vuln/detail/CVE-2022-40716[ADVISORY]
- https://github.com/hashicorp/consul/pull/14579[WEB]
- https://github.com/hashicorp/consul/commit/8f6fb4f6fe9488b8ec37da71ac503081d7d3760b[WEB]
- https://discuss.hashicorp.com[WEB]
- https://discuss.hashicorp.com/t/hcsec-2022-20-consul-service-mesh-intention-bypass-with-malicious-certificate-signing-request/44628[WEB]
- https://github.com/hashicorp/consul[PACKAGE]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI[WEB]