Live threats

All CVEs / Hashicorp

CVE-2020-13170Hashicorp Consul

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Jun 11, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Consul.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/consul ≥ 1.6.0-beta1 < 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-beta1 < 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-p2j5-3f4c-224r, GO-2022-0859). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpconsul≥ 1.4.0 < 1.6.6
hashicorpconsul≥ 1.4.0 < 1.6.6
hashicorpconsul≥ 1.7.0 < 1.7.4
hashicorpconsul≥ 1.7.0 < 1.7.4

Official sources

References

Links published by the sources. Open them with care.