{"id":"CVE-2020-12797","aliases":["BIT-consul-2020-12797","DEBIAN-CVE-2020-12797","EUVD-2021-1337","GHSA-hwqm-x785-qh8p","GO-2022-0847","UBUNTU-CVE-2020-12797"],"status":"published","title":"Incorrect Permission Assignment for Critical Resource\tin Hashicorp Consul","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01548,"percentile":0.75256,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-732"],"published":"2020-06-11T19:37:19Z","modified":"2026-10-20T10:51:08Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","fixed_in":["1.6.6","1.7.4"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"consul","fixed_in":["1.6.7","1.7.4"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"consul","fixed_in":["1.7.4+dfsg1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0"},{"fixed":"1.6.6"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.6.7"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.6.0"},{"fixed":"1.6.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.6.0"},{"fixed":"1.6.6"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}]},{"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"]}],"products":[{"vendor":"hashicorp","product":"consul"}],"references":[{"url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/hashicorp/consul/pull/8047","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12797","tags":["web","advisory"]},{"url":"https://github.com/hashicorp/consul/issues/5606","tags":["web","report"]},{"url":"https://github.com/hashicorp/consul/commit/98eea08d3ba1b220a14cf6eedf3b6b07ae2795d7","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-hwqm-x785-qh8p","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-12797","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-12797","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-12797","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-12797","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.","status":"published","published":"2020-06-11T19:37:19Z","modified":"2024-08-04T12:04:22.912Z","updated_at":"2026-11-02T14:35:52.925152Z"}],"euvd":[{"id":"EUVD-2021-1337","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.","status":"published","published":"2020-06-11T19:37:19Z","modified":"2024-08-04T12:04:22Z","updated_at":"2026-11-03T03:07:38.81332Z"}],"ghsa":[{"id":"GHSA-hwqm-x785-qh8p","title":"Incorrect Permission Assignment for Critical Resource\tin Hashicorp Consul","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.\n### Specific Go Packages Affected\ngithub.com/hashicorp/consul/agent/structs","status":"published","published":"2021-06-23T17:52:33Z","modified":"2023-10-02T15:09:55Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:37:07.641671Z"}],"nvd":[{"id":"CVE-2020-12797","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.","status":"published","published":"2020-06-11T20:15:11.21Z","modified":"2026-06-17T02:52:19.137Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","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:07.249892Z"}],"osv":[{"id":"CVE-2020-12797","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.","status":"published","published":"2020-06-11T20:15:11.21Z","modified":"2026-10-20T10:51:08.973894733Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"DEBIAN-CVE-2020-12797","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.","status":"published","published":"2020-06-11T20:15:11.21Z","modified":"2026-08-27T13:03:03.610758402Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:32.862554Z"},{"id":"GHSA-hwqm-x785-qh8p","title":"Incorrect Permission Assignment for Critical Resource\tin Hashicorp Consul","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.\n### Specific Go Packages Affected\ngithub.com/hashicorp/consul/agent/structs","status":"published","published":"2021-06-23T17:52:33Z","modified":"2024-08-21T15:58:47.260202Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"UBUNTU-CVE-2020-12797","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.","status":"published","published":"2020-06-11T20:15:00Z","modified":"2025-10-24T04:48:29Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:22.804634Z"},{"id":"BIT-consul-2020-12797","description":"HashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.","status":"published","published":"2024-03-06T10:55:03.903Z","modified":"2026-09-08T08:45:59.565334239Z","updated_at":"2026-11-02T15:28:28.70813Z"},{"id":"GO-2022-0847","title":"Incorrect Permission Assignment for Critical Resource in Hashicorp Consul in github.com/hashicorp/consul","description":"Incorrect Permission Assignment for Critical Resource in Hashicorp Consul in github.com/hashicorp/consul","status":"published","published":"2024-08-21T15:29:04Z","modified":"2026-03-03T04:52:20.507297Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
