{"id":"CVE-2021-36213","aliases":["CVE-2021-36213","GHSA-8h2g-r292-j8xh","BIT-CONSUL-2021-36213","GO-2022-0895"],"related":["CGA-w2w6-j65x-9wjw"],"kind":"vulnerability","state":"published","title":"HashiCorp Consul L7 deny intention results in an allow action","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"HashiCorp Consul L7 deny intention results in an allow action in github.com/hashicorp/consul","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2021-07-17T17:32:36.000Z","modified":"2026-09-10T03:49:06.398Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.1"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.10.1"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"go"},{"ranges":[{"status":"affected","introduced":"1.9.0","fixed":"1.9.8"},{"status":"affected","introduced":"1.9.0","fixed":"1.9.8"},{"status":"affected","introduced":"1.10.0","fixed":"1.10.1"},{"status":"affected","introduced":"1.10.0","fixed":"1.10.1"}],"vendor":"hashicorp","product":"consul","cpe":"cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.9.8"},{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.10.1"}],"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","source":"bitnami"}],"references":[{"url":"https://www.hashicorp.com/blog/category/consul","tags":["advisory","product","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/hashicorp/consul/releases/tag/v1.10.1","tags":["advisory","release-notes","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-16-consul-s-application-aware-intentions-deny-action-fails-open-when-combined-with-default-deny-policy/26855","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202208-09","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36213","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/hashicorp/consul","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-8h2g-r292-j8xh","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-36213","url":"https://www.cve.org/CVERecord?id=CVE-2021-36213","licence":"CVE Terms of Use","modified":"2024-08-04T00:54:50.693Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8h2g-r292-j8xh","url":"https://github.com/advisories/GHSA-8h2g-r292-j8xh","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:06.398Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0895","url":"https://pkg.go.dev/vuln/GO-2022-0895","licence":"CC-BY-4.0","modified":"2026-02-04T03:52:00.669Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-36213","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36213","licence":"Public domain","modified":"2026-06-17T03:58:32.030Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CONSUL-2021-36213","url":"https://osv.dev/vulnerability/BIT-CONSUL-2021-36213","licence":"Apache-2.0","modified":"2026-09-08T08:45:57.163Z"}],"updatedAt":"2026-11-25T22:58:02.718Z","epss":{"score":0.01685,"percentile":0.77694,"date":"2026-12-01T12:00:22.000Z"}}