CVE-2020-13170
Improper Input Validation in HashiCorp Consul
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2020-13170- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-13170- Updated
- 2026-11-02
EUVDEUVD-2021-1142 No score
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.
- Record
EUVD-2021-1142- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p2j5-3f4c-224r
5.3
Improper Input Validation in HashiCorp Consul
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.
Specific Go Packages Affected
github.com/hashicorp/consul/agent
- Record
GHSA-p2j5-3f4c-224r- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2020-13170- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-13170
7.5
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.
- Record
DEBIAN-CVE-2020-13170- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
Show 4 moreShow less
OSVGHSA-p2j5-3f4c-224r
5.3
Improper Input Validation in HashiCorp Consul
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.
Specific Go Packages Affected
github.com/hashicorp/consul/agent
- Record
GHSA-p2j5-3f4c-224r- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-13170
7.5
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.
- Record
UBUNTU-CVE-2020-13170- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVBIT-consul-2020-13170 No score
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.
- Record
BIT-consul-2020-13170- Updated
- 2026-11-02
OSVGO-2022-0859 No score
Improper Input Validation in HashiCorp Consul in github.com/hashicorp/consul
Improper Input Validation in HashiCorp Consul in github.com/hashicorp/consul
- Record
GO-2022-0859- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/hashicorp/consulGo |
1.6.0-beta1 up to 1.6.6 | 1.6.6 |
github.com/hashicorp/consulGo |
1.7.0 up to 1.7.4 | 1.7.4 |
consulBitnami |
1.4.0 up to 1.6.6, 1.7.0 up to 1.7.4 | 1.6.61.7.4 |
consulDebian:11 |
before 1.7.4+dfsg1-1 | 1.7.4+dfsg1-1 |
github.com/hashicorp/consulGo |
1.6.0-beta1 up to 1.6.6, 1.7.0 up to 1.7.4 | 1.6.61.7.4 |
consulUbuntu:20.04:LTS |
All versions, plus listed versions 1.0.7~dfsg1-5ubuntu11.4.4~dfsg1-2ubuntu21.5.2+dfsg1-61.5.2+dfsg1-101.5.2+dfsg1-121.5.2+dfsg2-14 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-13170 is a high vulnerability (CVSS 7.5) in Hashicorp Consul, published June 11, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.77%, the 78th percentile. Fixed in github.com/hashicorp/consul 1.6.6.
References
github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md
github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md
github.com/hashicorp/consul/pull/8068
nvd.nist.gov/vuln/detail/CVE-2020-13170
github.com/hashicorp/consul/commit/242994a016a181d6c62a5bb83189716ad13d4216
github.com/advisories/GHSA-p2j5-3f4c-224r
security-tracker.debian.org/tracker/CVE-2020-13170
ubuntu.com/security/CVE-2020-13170
cve.org/CVERecord?id=CVE-2020-13170