{"id":"CVE-2020-13170","aliases":["BIT-consul-2020-13170","DEBIAN-CVE-2020-13170","EUVD-2021-1142","GHSA-p2j5-3f4c-224r","GO-2022-0859","UBUNTU-CVE-2020-13170"],"status":"published","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.","severity":{"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","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01768,"percentile":0.78271,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2020-06-11T19:41:25Z","modified":"2026-10-20T10:51:10Z","fixes":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","fixed_in":["1.6.6","1.7.4"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"consul","fixed_in":["1.6.6","1.7.4"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"consul","fixed_in":["1.7.4+dfsg1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6.0-beta1"},{"fixed":"1.6.6"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.6.6"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4+dfsg1-1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.6.0-beta1"},{"fixed":"1.6.6"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.6.0-beta1"},{"fixed":"1.6.6"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.7~dfsg1-5ubuntu1","1.4.4~dfsg1-2ubuntu2","1.5.2+dfsg1-6","1.5.2+dfsg1-10","1.5.2+dfsg1-12","1.5.2+dfsg2-14"]}],"products":[{"vendor":"hashicorp","product":"consul"}],"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","report"]},{"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","report"]},{"url":"https://github.com/hashicorp/consul/pull/8068","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13170","tags":["web","advisory"]},{"url":"https://github.com/hashicorp/consul/commit/242994a016a181d6c62a5bb83189716ad13d4216","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-p2j5-3f4c-224r","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-13170","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-13170","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-13170","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-13170","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.","status":"published","published":"2020-06-11T19:41:25Z","modified":"2024-08-04T12:11:19.316Z","updated_at":"2026-11-02T14:35:54.170199Z"}],"euvd":[{"id":"EUVD-2021-1142","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.","status":"published","published":"2020-06-11T19:41:25Z","modified":"2024-08-04T12:11:19Z","updated_at":"2026-11-03T03:07:38.311662Z"}],"ghsa":[{"id":"GHSA-p2j5-3f4c-224r","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.\n### Specific Go Packages Affected\ngithub.com/hashicorp/consul/agent","status":"published","published":"2021-05-18T18:21:21Z","modified":"2023-10-02T14:26:41Z","cvss":[{"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","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:07.641671Z"}],"nvd":[{"id":"CVE-2020-13170","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.","status":"published","published":"2020-06-11T20:15:11.337Z","modified":"2026-06-17T02:52:43.987Z","cvss":[{"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","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:06:07.249892Z"}],"osv":[{"id":"CVE-2020-13170","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.","status":"published","published":"2020-06-11T20:15:11.337Z","modified":"2026-10-20T10:51:10.601412203Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"DEBIAN-CVE-2020-13170","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.","status":"published","published":"2020-06-11T20:15:11.337Z","modified":"2026-08-27T13:02:33.141622995Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:45:32.862554Z"},{"id":"GHSA-p2j5-3f4c-224r","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.\n### Specific Go Packages Affected\ngithub.com/hashicorp/consul/agent","status":"published","published":"2021-05-18T18:21:21Z","modified":"2024-08-21T15:58:32.402283Z","cvss":[{"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","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:52.534897Z"},{"id":"UBUNTU-CVE-2020-13170","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.","status":"published","published":"2020-06-11T20:15:00Z","modified":"2025-10-24T04:48:30Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:54:22.804634Z"},{"id":"BIT-consul-2020-13170","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.","status":"published","published":"2024-03-06T10:54:54.162Z","modified":"2026-09-08T08:45:58.266607219Z","updated_at":"2026-11-02T15:28:28.70813Z"},{"id":"GO-2022-0859","title":"Improper Input Validation in HashiCorp Consul in github.com/hashicorp/consul","description":"Improper Input Validation in HashiCorp Consul in github.com/hashicorp/consul","status":"published","published":"2024-08-21T15:29:06Z","modified":"2026-03-03T04:52:20.456876Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
