{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-13170","id":"CVE-2020-13170","title":"Improper Input Validation in HashiCorp Consul","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.","descriptionLong":"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.","published":"2020-06-11T19:41:25.000Z","updated":"2026-10-20T10:51:10.601412203Z","reserved":"2020-05-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[">=1.6.0-beta1 <1.6.6",">=1.7.0 <1.7.4"],"fixed":["1.6.6","1.7.4"],"advisory":"GHSA-p2j5-3f4c-224r"}],"cwes":["CWE-20"],"aliases":["BIT-consul-2020-13170","GHSA-p2j5-3f4c-224r","GO-2022-0859"],"references":[{"url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/hashicorp/consul/pull/8068","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13170","tags":["advisory"]},{"url":"https://github.com/hashicorp/consul/commit/242994a016a181d6c62a5bb83189716ad13d4216","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-p2j5-3f4c-224r","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01768,"epssPercentile":0.78594,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-13170","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13170","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-13170","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p2j5-3f4c-224r","ok":true,"note":"GHSA-p2j5-3f4c-224r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-13170","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}