{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-12797","id":"CVE-2020-12797","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.","descriptionLong":"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.","published":"2020-06-11T19:37:19.000Z","updated":"2026-10-20T10:51:08.973894733Z","reserved":"2020-05-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[">=1.6.0 <1.6.6",">=1.7.0 <1.7.4"],"fixed":["1.6.6","1.7.4"],"advisory":"GHSA-hwqm-x785-qh8p"}],"cwes":["CWE-732"],"aliases":["BIT-consul-2020-12797","GHSA-hwqm-x785-qh8p","GO-2022-0847"],"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"]},{"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"]},{"url":"https://github.com/hashicorp/consul/pull/8047","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12797","tags":["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"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01548,"epssPercentile":0.75584,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-12797","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12797","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-12797","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hwqm-x785-qh8p","ok":true,"note":"GHSA-hwqm-x785-qh8p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-12797","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}