Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-13170

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-13170
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:42 UTC · Revision 1

Source evidence

CVE-2020-13170

core-osv · Original source

Published 11 Jun 2020, 20:15 UTC

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.

osv:CVE-2020-13170
Complete source record
{
  "id": "4f41c98e6aa42244278570be833baf4fbd73c39b8ac5875dc28f593e43bc6472",
  "url": "https://osv.dev/vulnerability/CVE-2020-13170",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-13170",
    "summary": "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.",
    "evidence": "osv:CVE-2020-13170",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-13170",
      "aliases": [
        "BIT-consul-2020-13170",
        "CVE-2020-13170",
        "GHSA-p2j5-3f4c-224r",
        "GO-2022-0859"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/consul",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0bddfa23a2ebe3c0773d917fc104f53d74f7a5ec"
                },
                {
                  "fixed": "8c161e11f5f5f0dbde67341692ae2a17c0ea8bb6"
                },
                {
                  "introduced": "95fb95bfe643d7886c4fb2d9f3afe1977d31cfec"
                },
                {
                  "fixed": "d149d7e9f2d5e4f609fca95fc1d797275c407e8a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "fixed": "1.6.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "fixed": "1.6.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.7.0"
                      },
                      {
                        "fixed": "1.7.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.7.0"
                      },
                      {
                        "fixed": "1.7.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.7.3",
            "v1.6.5",
            "v1.7.2",
            "v1.6.4",
            "v1.7.1",
            "v1.7.0",
            "v1.6.3",
            "v1.6.2",
            "sdk/v0.3.0",
            "v1.6.1",
            "v1.6.0",
            "api/v1.2.0",
            "sdk/v0.2.0",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.4.4",
            "v1.5.0",
            "api/v1.1.0",
            "sdk/v0.1.1",
            "api/v1.0.1",
            "sdk/v0.1.0",
            "api/v1.0.0",
            "internal/v0.1.0",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13170.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:10.601412203Z",
      "provider": "osv",
      "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"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-13170",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382489,
  "published_at": "2020-06-11T20:15:11.337+00:00"
}