CVE-2020-12797Hashicorp Consul
Medium 5.3 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Consul We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Jun 11, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Consul.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hashicorp/consul |
≥ 1.6.0 < 1.6.6 |
1.6.6 |
go get github.com/hashicorp/consul@v1.6.6 |
| Go | github.com/hashicorp/consul |
≥ 1.7.0 < 1.7.4 |
1.7.4 |
go get github.com/hashicorp/consul@v1.7.4 |
| Go | github.com/hashicorp/consul |
≥ 1.6.0 < 1.6.6 |
1.6.6 |
go get github.com/hashicorp/consul@v1.6.6 |
| Go | github.com/hashicorp/consul |
≥ 1.7.0 < 1.7.4 |
1.7.4 |
go get github.com/hashicorp/consul@v1.7.4 |
Per OSV / GitHub Advisories (GHSA-hwqm-x785-qh8p, GO-2022-0847). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | consul | ≥ 1.4.0 < 1.6.6 |
| hashicorp | consul | ≥ 1.4.0 ≤ 1.6.6 |
| hashicorp | consul | ≥ 1.7.0 < 1.7.4 |
| hashicorp | consul | ≥ 1.7.0 < 1.7.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory