Description
HashiCorp Consul and Consul Enterprise did not appropriately enforce scope for local tokens issued by a primary data center, where replication to a secondary data center was not enabled. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | consul | 1.7.4+dfsg1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | consul | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/hashicorp/consul | >= 1.6.0-beta1, < 1.6.6 | 1.6.6 | GHSA-p2j5-3f4c-224r |
| Go | github.com/hashicorp/consul | >= 1.7.0, < 1.7.4 | 1.7.4 | GHSA-p2j5-3f4c-224r |
| Go | github.com/hashicorp/consul | >= 1.6.0-beta1, < 1.6.6 · >= 1.7.0, < 1.7.4 | 1.6.6, 1.7.4 | GO-2022-0859 |