CVE-2022-40716
MEDIUM 6.5CVSS 3.1HashiCorp Consul vulnerable to authorization bypass
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."
- Published
- 23 Sep 2022
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-252
- Also known as
- BIT-consul-2022-40716GHSA-m69r-9g56-7mv8GO-2022-1029
- Sources
- NVDJSONOSV GHSA-m69r-9g56-7mv8JSONOSV GO-2022-1029JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
< 1.11.9 | 1.11.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
< 1.11.9 | 1.11.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.12.0, < 1.12.5 | 1.12.5 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.12.0, < 1.12.5 | 1.12.5 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.13.0, < 1.13.2 | 1.13.2 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.13.0, < 1.13.2 | 1.13.2 |
| OSV | Go | github.com/hashicorp/consul | < 1.11.9 | 1.11.9 |
| OSV | Go | github.com/hashicorp/consul | >= 1.12.0, < 1.12.5 | 1.12.5 |
| OSV | Go | github.com/hashicorp/consul | >= 1.13.0, < 1.13.2 | 1.13.2 |
| OSV | 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 |
References
- https://discuss.hashicorp.com · Vendor Advisory, WEB
- https://discuss.hashicorp.com/t/hcsec-2022-20-consul-service-mesh-intention-bypass-with-malicious-certificate-signing-request/44628 · Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/
- https://nvd.nist.gov/vuln/detail/CVE-2022-40716 · ADVISORY
- https://github.com/hashicorp/consul/pull/14579 · WEB, FIX
- https://github.com/hashicorp/consul/commit/8f6fb4f6fe9488b8ec37da71ac503081d7d3760b · WEB, FIX
- 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
- https://github.com/advisories/GHSA-m69r-9g56-7mv8 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 23 Sep 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Sep 2022)