7.5high
HashiCorp Consul L7 deny intention results in an allow action
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.69% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-8h2g-r292-j8xhBIT-CONSUL-2021-36213GO-2022-0895
Description
HashiCorp Consul and Consul Enterprise 1.9.0 through 1.10.0 default deny policy with a single L7 application-aware intention deny action cancels out, causing the intention to incorrectly fail open, allowing L4 traffic. Fixed in 1.9.8 and 1.10.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/hashicorp/consul (Go) | before 1.10.1 | GitHub Advisory Database, Go Vulnerability Database |
| hashicorp consul | from 1.9.0 before 1.9.8, from 1.10.0 before 1.10.1 | NVD |
| consul (Bitnami) | from 1.9.0 before 1.9.8, from 1.10.0 before 1.10.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | high rating |
What each source says
CVE List
HashiCorp Consul and Consul Enterprise 1.9.0 through 1.10.0 default deny policy with a single L7 application-aware intention deny action cancels out, causing the intention to incorrectly fail open, allowing L4 traffic. Fixed in 1.9.8 and 1.10.1.
GitHub Advisory Database
In HashiCorp Consul before 1.10.1 (and Consul Enterprise), xds can generate a situation where a single L7 deny intention (with a default deny policy) results in an allow action.
Go Vulnerability Database
HashiCorp Consul L7 deny intention results in an allow action in github.com/hashicorp/consul
NVD (es)
La política de denegación por defecto de HashiCorp Consul y Consul Enterprise desde la versión 1.9.0 hasta la version 1.10.0 con una única acción de denegación de intención consciente de la aplicación L7 se anula, lo que provoca que la intención falle incorrectamente al abrirse, permitiendo el tráfico L4. Corregido en las versiones 1.9.8 y 1.10.1.
References
| https://www.hashicorp.com/blog/category/consul | advisory, product, vendor-advisory, web | |
| https://github.com/hashicorp/consul/releases/tag/v1.10.1 | advisory, release-notes, third-party-advisory, web | |
| https://discuss.hashicorp.com/t/hcsec-2021-16-consul-s-application-aware-intentions-deny-action-fails-open-when-combined-with-default-deny-policy/26855 | advisory, vendor-advisory, web | |
| https://security.gentoo.org/glsa/202208-09 | advisory, third-party-advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-36213 | advisory, web | |
| https://github.com/hashicorp/consul | web | |
| https://github.com/advisories/GHSA-8h2g-r292-j8xh | advisory | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-36213 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-8h2g-r292-j8xh changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0895 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2021-36213 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-CONSUL-2021-36213 changed 2026-09-08 | Apache-2.0 |