GitHub Advisory Database
GHSA-hwqm-x785-qh8p
Incorrect Permission Assignment for Critical Resource in Hashicorp Consul
Details
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.
Specific Go Packages Affected
github.com/hashicorp/consul/agent/structs
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/hashicorp/consul | From 1.6.0 before 1.6.6 (fixed in 1.6.6) |
| Go | github.com/hashicorp/consul | From 1.7.0 before 1.7.4 (fixed in 1.7.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-12797
- https://github.com/hashicorp/consul/issues/5606
- https://github.com/hashicorp/consul/pull/8047
- https://github.com/hashicorp/consul/commit/98eea08d3ba1b220a14cf6eedf3b6b07ae2795d7
- https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md
- https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md