CVE-2020-12797
MEDIUM 5.3CVSS 3.1Incorrect Permission Assignment for Critical Resource in Hashicorp Consul
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
- 11 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-732
- Also known as
- BIT-consul-2020-12797GHSA-hwqm-x785-qh8pGO-2022-0847
- Sources
- NVDJSONOSV GHSA-hwqm-x785-qh8pJSONOSV GO-2022-0847JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:*:*:*:* |
>= 1.4.0, < 1.6.6 | 1.6.6 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.4.0, <= 1.6.6 | |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:*:*:*:* |
>= 1.7.0, < 1.7.4 | 1.7.4 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.7.0, < 1.7.4 | 1.7.4 |
| OSV | Go | github.com/hashicorp/consul | >= 1.6.0, < 1.6.6 | 1.6.6 |
| OSV | Go | github.com/hashicorp/consul | >= 1.7.0, < 1.7.4 | 1.7.4 |
| OSV | Go | github.com/hashicorp/consul | >= 1.6.0, < 1.6.6; >= 1.7.0, < 1.7.4 | 1.6.6, 1.7.4 |
References
- https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md · Release Notes, Third Party Advisory, WEB
- https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md · Release Notes, Third Party Advisory, WEB
- https://github.com/hashicorp/consul/pull/8047 · Patch, Third Party Advisory, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2020-12797 · ADVISORY
- https://github.com/hashicorp/consul/issues/5606 · WEB, REPORT
- https://github.com/hashicorp/consul/commit/98eea08d3ba1b220a14cf6eedf3b6b07ae2795d7 · WEB, FIX
- https://github.com/advisories/GHSA-hwqm-x785-qh8p · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 11 Jun 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jun 2021)