CVE-2022-40716 json
HashiCorp Consul vulnerable to authorization bypass
published 2022-09-23 4 y ago modified 2026-09-10 1 mo ago also BIT-consul-2022-40716 , EUVD-2022-6870 , GHSA-m69r-9g56-7mv8 , GO-2022-1029
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- go github.com/hashicorp/consul 1.11.9, 1.12.5, 1.13.2
- bitnami consul 1.11.9, 1.12.5, 1.13.2
- hashicorp consul 1.11.9, 1.12.5, 1.13.2
- consul Alpine 3.16 1.12.5-r0
- consul Alpine 3.18, Alpine 3.17 1.13.2-r0
alpine advisories ALPINE-CVE-2022-40716
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/hashicorp/consul@8f6fb4f commit
- github.com/hashicorp/consul#14579 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-40716 updated cvss 6.5
consul: Consul Service Mesh Intention Bypass with Malicious Certificate Signing Request
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8affected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 openshift4/topology-aware-lifecycle-manager-rhel8-operatoraffected: no fix available
-
Red Hat Openshift Data Foundation 4 odf4/odr-rhel8-operator, odf4/odf-multicluster-rhel9-operatoraffected: no fix available, no fix planned “Will not fix”
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel8 Red Hat OpenShift Container Platform 4 openshift4/ose-grafananot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| 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 |
| bitnami | 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 |
Classification
- Weakness
-
- CWE-252 Unchecked Return Value
References
-
github.com
/hashicorp/consul/pull/14579
web, patch
-
github.com
/hashicorp/consul/commit/8f6fb4f6fe9488b8ec37da71ac503081d7d3760b
web, patch
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/
vendor-advisory, web
-
discuss.hashicorp.com
web, vendor-advisory, advisory
-
discuss.hashicorp.com
/t/hcsec-2022-20-consul-service-mesh-intention-bypass-with-malicious-certificate-signing-request/44628
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-40716
advisory, web
-
github.com
/hashicorp/consul
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI
web
-
github.com
/advisories/GHSA-m69r-9g56-7mv8
advisory
Sources
- CVE List CVE-2022-40716
- GitHub Advisory GHSA-m69r-9g56-7mv8
- NVD CVE-2022-40716
- OSV BIT-consul-2022-40716
- OSV GO-2022-1029
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.