{"id":"CVE-2021-36213","aliases":["BIT-consul-2021-36213","EUVD-2021-1451","GHSA-8h2g-r292-j8xh","GO-2022-0895","UBUNTU-CVE-2021-36213"],"status":"published","title":"HashiCorp Consul L7 deny intention results in an allow action","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01685,"percentile":0.77311,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2021-07-17T17:32:36Z","modified":"2026-10-20T10:54:47Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","fixed_in":["1.10.1"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"consul","fixed_in":["1.9.8","1.10.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.1"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.9.0"},{"fixed":"1.9.8"},{"introduced":"1.10.0"},{"fixed":"1.10.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.10.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.4~dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"consul","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"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4+dfsg1-1","1.8.7+dfsg1-3"]}],"products":[{"vendor":"hashicorp","product":"consul"}],"references":[{"url":"https://www.hashicorp.com/blog/category/consul","tags":["x_refsource_MISC","x_transferred","Product","Vendor Advisory","advisory","web","report"]},{"url":"https://github.com/hashicorp/consul/releases/tag/v1.10.1","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","advisory","web","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","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"https://security.gentoo.org/glsa/202208-09","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36213","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-8h2g-r292-j8xh","tags":["advisory"]},{"url":"https://github.com/hashicorp/consul","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-36213","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-36213","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-36213","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.","status":"published","published":"2021-07-17T17:32:36Z","modified":"2024-08-04T00:54:50.693Z","updated_at":"2026-11-02T14:33:06.32268Z"}],"euvd":[{"id":"EUVD-2021-1451","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.","status":"published","published":"2021-07-17T17:32:36Z","modified":"2024-08-04T00:54:50Z","updated_at":"2026-11-03T03:24:29.877227Z"}],"ghsa":[{"id":"GHSA-8h2g-r292-j8xh","title":"HashiCorp Consul L7 deny intention results in an allow action","description":"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.","status":"published","published":"2021-07-19T21:21:12Z","modified":"2023-01-30T05:02:58Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T14:36:27.500048Z"}],"nvd":[{"id":"CVE-2021-36213","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.","status":"published","published":"2021-07-17T18:15:07.82Z","modified":"2026-06-17T03:58:32.03Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:06:55.747384Z"}],"osv":[{"id":"CVE-2021-36213","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.","status":"published","published":"2021-07-17T18:15:07.82Z","modified":"2026-10-20T10:54:47.567764688Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:20.434873Z"},{"id":"GHSA-8h2g-r292-j8xh","title":"HashiCorp Consul L7 deny intention results in an allow action","description":"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.","status":"published","published":"2021-07-19T21:21:12Z","modified":"2026-09-10T03:49:06.398225282Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:46:42.437513Z"},{"id":"UBUNTU-CVE-2021-36213","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.","status":"published","published":"2021-07-17T18:15:00Z","modified":"2025-10-24T04:50:26Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:27.870979Z"},{"id":"BIT-consul-2021-36213","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.","status":"published","published":"2024-03-06T10:53:11.575Z","modified":"2026-09-08T08:45:57.163558103Z","updated_at":"2026-11-02T15:28:28.70813Z"},{"id":"GO-2022-0895","title":"HashiCorp Consul L7 deny intention results in an allow action in github.com/hashicorp/consul","description":"HashiCorp Consul L7 deny intention results in an allow action in github.com/hashicorp/consul","status":"published","published":"2024-08-21T15:29:08Z","modified":"2026-02-04T03:52:00.669102Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
