{"id":"CVE-2021-36213","aliases":["BIT-consul-2021-36213","GHSA-8h2g-r292-j8xh","GO-2022-0895","UBUNTU-CVE-2021-36213"],"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,...","published_at":"2021-07-17T17:32:36Z","modified_at":"2026-09-10T03:49:06.398225Z","products":[{"slug":"consul","name":"HashiCorp Consul","category":"iac"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"vendor_ratings":[{"source":"Ubuntu","rating":"medium"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.016850000247359276,"percentile":0.7757999897003174,"date":"2026-11-20T00:00:00Z"},"priority":9.5,"record_count":6,"vendors":["Ubuntu","GitHub","Bitnami","Go"],"details":"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_stack":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.1"}]}],"fixed":["1.10.1"],"provider":"osv","source":"GHSA-8h2g-r292-j8xh","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.1"}]}],"fixed":["1.10.1"],"provider":"osv","source":"GO-2022-0895","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.10.0"},{"fixed":"1.10.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.10.0"},{"fixed":"1.10.1"}]}],"fixed":["1.9.8","1.9.8","1.10.1","1.10.1"],"provider":"nvd","source":"CVE-2021-36213","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.9.0"},{"fixed":"1.9.8"},{"introduced":"1.10.0"},{"fixed":"1.10.1"}]}],"fixed":["1.9.8","1.10.1"],"provider":"osv","source":"BIT-consul-2021-36213","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"consul","purl":"pkg:deb/ubuntu/consul@0.6.4~dfsg-3?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.4~dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2021-36213","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"consul","purl":"pkg:deb/ubuntu/consul@1.5.2+dfsg2-14?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.7~dfsg1-5ubuntu1","1.4.4~dfsg1-2ubuntu2","1.5.2+dfsg1-6","1.5.2+dfsg1-10","1.5.2+dfsg1-12","1.5.2+dfsg2-14"],"provider":"osv","source":"UBUNTU-CVE-2021-36213","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"consul","purl":"pkg:deb/ubuntu/consul@1.8.7+dfsg1-3?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4+dfsg1-1","1.8.7+dfsg1-3"],"provider":"osv","source":"UBUNTU-CVE-2021-36213","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-36213","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-36213","license":"CC-BY-4.0","published_at":"2021-07-17T17:32:36Z","modified_at":"2024-08-04T00:54:50.693Z","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,...","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.hashicorp.com/blog/category/consul"},{"type":"WEB","url":"https://github.com/hashicorp/consul/releases/tag/v1.10.1"},{"type":"WEB","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"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-09"}]},{"provider":"nvd","source_id":"CVE-2021-36213","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36213","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.9.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.10.0"},{"fixed":"1.10.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.10.0"},{"fixed":"1.10.1"}]}],"fixed":["1.9.8","1.9.8","1.10.1","1.10.1"],"provider":"nvd","source":"CVE-2021-36213","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-consul-2021-36213","relation":"self","url":"https://osv.dev/vulnerability/BIT-consul-2021-36213","license":"Apache-2.0","published_at":"2024-03-06T10:53:11.575Z","modified_at":"2026-09-08T08:45:57.163558Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"BIT-consul-2021-36213"}],"affected":[{"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.9.0"},{"fixed":"1.9.8"},{"introduced":"1.10.0"},{"fixed":"1.10.1"}]}],"fixed":["1.9.8","1.10.1"],"provider":"osv","source":"BIT-consul-2021-36213","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","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"},{"type":"ADVISORY","url":"https://github.com/hashicorp/consul/releases/tag/v1.10.1"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-09"},{"type":"ADVISORY","url":"https://www.hashicorp.com/blog/category/consul"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36213"}]},{"provider":"osv","source_id":"GHSA-8h2g-r292-j8xh","relation":"self","url":"https://osv.dev/vulnerability/GHSA-8h2g-r292-j8xh","license":"CC-BY-4.0","published_at":"2021-07-19T21:21:12Z","modified_at":"2026-09-10T03:49:06.398225Z","summary":"HashiCorp Consul L7 deny intention results in an allow action","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"GHSA-8h2g-r292-j8xh"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.1"}]}],"fixed":["1.10.1"],"provider":"osv","source":"GHSA-8h2g-r292-j8xh","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36213"},{"type":"WEB","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"},{"type":"WEB","url":"https://github.com/hashicorp/consul"},{"type":"WEB","url":"https://github.com/hashicorp/consul/releases/tag/v1.10.1"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202208-09"},{"type":"WEB","url":"https://www.hashicorp.com/blog/category/consul"}]},{"provider":"osv","source_id":"GO-2022-0895","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0895","license":"CC-BY-4.0","published_at":"2024-08-21T15:29:08Z","modified_at":"2026-02-04T03:52:00.669102Z","summary":"HashiCorp Consul L7 deny intention results in an allow action in github.com/hashicorp/consul","details":"HashiCorp Consul L7 deny intention results in an allow action in github.com/hashicorp/consul","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.1"}]}],"fixed":["1.10.1"],"provider":"osv","source":"GO-2022-0895","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8h2g-r292-j8xh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36213"},{"type":"WEB","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"},{"type":"WEB","url":"https://github.com/hashicorp/consul"},{"type":"WEB","url":"https://github.com/hashicorp/consul/releases/tag/v1.10.1"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202208-09"},{"type":"WEB","url":"https://www.hashicorp.com/blog/category/consul"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2021-36213","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-36213","license":"CC-BY-SA-4.0","published_at":"2021-07-17T18:15:00Z","modified_at":"2025-10-24T04:50:26Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"UBUNTU-CVE-2021-36213"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2021-36213"}],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"consul","purl":"pkg:deb/ubuntu/consul@0.6.4~dfsg-3?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.4~dfsg-3"],"provider":"osv","source":"UBUNTU-CVE-2021-36213","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"consul","purl":"pkg:deb/ubuntu/consul@1.5.2+dfsg2-14?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.7~dfsg1-5ubuntu1","1.4.4~dfsg1-2ubuntu2","1.5.2+dfsg1-6","1.5.2+dfsg1-10","1.5.2+dfsg1-12","1.5.2+dfsg2-14"],"provider":"osv","source":"UBUNTU-CVE-2021-36213","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"consul","purl":"pkg:deb/ubuntu/consul@1.8.7+dfsg1-3?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4+dfsg1-1","1.8.7+dfsg1-3"],"provider":"osv","source":"UBUNTU-CVE-2021-36213","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-36213"},{"type":"REPORT","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"},{"type":"REPORT","url":"https://www.hashicorp.com/blog/category/consul"},{"type":"REPORT","url":"https://github.com/hashicorp/consul/releases/tag/v1.10.1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-36213"}]}],"references":[{"type":"WEB","url":"https://www.hashicorp.com/blog/category/consul"},{"type":"WEB","url":"https://github.com/hashicorp/consul/releases/tag/v1.10.1"},{"type":"WEB","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"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-09"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36213"},{"type":"WEB","url":"https://github.com/hashicorp/consul"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8h2g-r292-j8xh"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-36213"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-36213"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-36213","url":"https://www.cve.org/CVERecord?id=CVE-2021-36213","license":"CC-BY-4.0","modified_at":"2024-08-04T00:54:50.693Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-36213","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36213","relation":"self"},{"provider":"osv","source_id":"BIT-consul-2021-36213","url":"https://osv.dev/vulnerability/BIT-consul-2021-36213","license":"Apache-2.0","modified_at":"2026-09-08T08:45:57.163558Z","relation":"self"},{"provider":"osv","source_id":"GHSA-8h2g-r292-j8xh","url":"https://osv.dev/vulnerability/GHSA-8h2g-r292-j8xh","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:06.398225Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0895","url":"https://osv.dev/vulnerability/GO-2022-0895","license":"CC-BY-4.0","modified_at":"2026-02-04T03:52:00.669102Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2021-36213","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-36213","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:50:26Z","relation":"self"}]}
