{"id":"CVE-2020-13170","aliases":["BIT-consul-2020-13170","DEBIAN-CVE-2020-13170","GHSA-p2j5-3f4c-224r","GO-2022-0859","UBUNTU-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.","published_at":"2020-06-11T19:41:25Z","modified_at":"2026-09-08T08:45:58.266607Z","products":[{"slug":"consul","name":"HashiCorp Consul","category":"iac"}],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"vendor_ratings":[{"source":"Ubuntu","rating":"medium"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.017680000513792038,"percentile":0.7866399884223938,"date":"2026-11-20T00:00:00Z"},"priority":9.5,"record_count":7,"vendors":["Debian","Ubuntu","GitHub","Bitnami","Go"],"details":"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.","affected_stack":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.6.0-beta1"},{"fixed":"1.6.6"}]}],"fixed":["1.6.6"],"provider":"osv","source":"GHSA-p2j5-3f4c-224r","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.7.4"],"provider":"osv","source":"GHSA-p2j5-3f4c-224r","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/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"}]}],"fixed":["1.6.6","1.7.4"],"provider":"osv","source":"GO-2022-0859","relation":"self"},{"ecosystem":"NVD","package":"hashicorp:consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.6.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.6.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.6.6","1.6.6","1.7.4","1.7.4"],"provider":"nvd","source":"CVE-2020-13170","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.6.6"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.6.6","1.7.4"],"provider":"osv","source":"BIT-consul-2020-13170","relation":"self"},{"ecosystem":"Debian:11","package":"consul","purl":"pkg:deb/debian/consul?arch=source&distro=bullseye","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4+dfsg1-1"}]}],"fixed":["1.7.4+dfsg1-1"],"provider":"osv","source":"DEBIAN-CVE-2020-13170","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"consul","purl":"pkg:deb/ubuntu/consul@1.5.2+dfsg2-14?arch=source&distro=focal","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"],"provider":"osv","source":"UBUNTU-CVE-2020-13170","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2020-13170","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2020-13170","license":"CC-BY-4.0","published_at":"2020-06-11T19:41:25Z","modified_at":"2024-08-04T12:11:19.316Z","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.","details":"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":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/consul/pull/8068"}]},{"provider":"nvd","source_id":"CVE-2020-13170","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13170","severity":[],"affected":[{"ecosystem":"NVD","package":"hashicorp:consul","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.6.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.4.0"},{"fixed":"1.6.6"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]},{"type":"ECOSYSTEM","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.6.6","1.6.6","1.7.4","1.7.4"],"provider":"nvd","source":"CVE-2020-13170","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-consul-2020-13170","relation":"self","url":"https://osv.dev/vulnerability/BIT-consul-2020-13170","license":"Apache-2.0","published_at":"2024-03-06T10:54:54.162Z","modified_at":"2026-09-08T08:45:58.266607Z","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"BIT-consul-2020-13170"}],"affected":[{"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.6.6"},{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.6.6","1.7.4"],"provider":"osv","source":"BIT-consul-2020-13170","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md"},{"type":"ADVISORY","url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md"},{"type":"ADVISORY","url":"https://github.com/hashicorp/consul/pull/8068"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13170"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2020-13170","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2020-13170","published_at":"2020-06-11T20:15:11.337Z","modified_at":"2026-08-27T13:02:33.141622Z","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"DEBIAN-CVE-2020-13170"}],"affected":[{"ecosystem":"Debian:11","package":"consul","purl":"pkg:deb/debian/consul?arch=source&distro=bullseye","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.4+dfsg1-1"}]}],"fixed":["1.7.4+dfsg1-1"],"provider":"osv","source":"DEBIAN-CVE-2020-13170","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2020-13170"}]},{"provider":"osv","source_id":"GHSA-p2j5-3f4c-224r","relation":"self","url":"https://osv.dev/vulnerability/GHSA-p2j5-3f4c-224r","license":"CC-BY-4.0","published_at":"2021-05-18T18:21:21Z","modified_at":"2024-08-21T15:58:32.402283Z","summary":"Improper Input Validation in HashiCorp Consul","details":"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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"GHSA-p2j5-3f4c-224r"}],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.6.0-beta1"},{"fixed":"1.6.6"}]}],"fixed":["1.6.6"],"provider":"osv","source":"GHSA-p2j5-3f4c-224r","relation":"self"},{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"fixed":["1.7.4"],"provider":"osv","source":"GHSA-p2j5-3f4c-224r","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13170"},{"type":"WEB","url":"https://github.com/hashicorp/consul/pull/8068"},{"type":"WEB","url":"https://github.com/hashicorp/consul/commit/242994a016a181d6c62a5bb83189716ad13d4216"},{"type":"WEB","url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md"}]},{"provider":"osv","source_id":"GO-2022-0859","relation":"self","url":"https://osv.dev/vulnerability/GO-2022-0859","license":"CC-BY-4.0","published_at":"2024-08-21T15:29:06Z","modified_at":"2026-03-03T04:52:20.456876Z","summary":"Improper Input Validation in HashiCorp Consul in github.com/hashicorp/consul","details":"Improper Input Validation in HashiCorp Consul in github.com/hashicorp/consul","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/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"}]}],"fixed":["1.6.6","1.7.4"],"provider":"osv","source":"GO-2022-0859","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p2j5-3f4c-224r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13170"},{"type":"FIX","url":"https://github.com/hashicorp/consul/commit/242994a016a181d6c62a5bb83189716ad13d4216"},{"type":"FIX","url":"https://github.com/hashicorp/consul/pull/8068"},{"type":"WEB","url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2020-13170","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2020-13170","license":"CC-BY-SA-4.0","published_at":"2020-06-11T20:15:00Z","modified_at":"2025-10-24T04:48:30Z","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"UBUNTU-CVE-2020-13170"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2020-13170"}],"affected":[{"ecosystem":"Ubuntu:20.04:LTS","package":"consul","purl":"pkg:deb/ubuntu/consul@1.5.2+dfsg2-14?arch=source&distro=focal","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"],"provider":"osv","source":"UBUNTU-CVE-2020-13170","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-13170"},{"type":"REPORT","url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md"},{"type":"REPORT","url":"https://github.com/hashicorp/consul/pull/8068"},{"type":"REPORT","url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-13170"}]}],"references":[{"type":"WEB","url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/hashicorp/consul/pull/8068"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13170"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2020-13170"},{"type":"WEB","url":"https://github.com/hashicorp/consul/commit/242994a016a181d6c62a5bb83189716ad13d4216"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p2j5-3f4c-224r"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-13170"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-13170"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2020-13170","url":"https://www.cve.org/CVERecord?id=CVE-2020-13170","license":"CC-BY-4.0","modified_at":"2024-08-04T12:11:19.316Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2020-13170","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13170","relation":"self"},{"provider":"osv","source_id":"BIT-consul-2020-13170","url":"https://osv.dev/vulnerability/BIT-consul-2020-13170","license":"Apache-2.0","modified_at":"2026-09-08T08:45:58.266607Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2020-13170","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2020-13170","modified_at":"2026-08-27T13:02:33.141622Z","relation":"self"},{"provider":"osv","source_id":"GHSA-p2j5-3f4c-224r","url":"https://osv.dev/vulnerability/GHSA-p2j5-3f4c-224r","license":"CC-BY-4.0","modified_at":"2024-08-21T15:58:32.402283Z","relation":"self"},{"provider":"osv","source_id":"GO-2022-0859","url":"https://osv.dev/vulnerability/GO-2022-0859","license":"CC-BY-4.0","modified_at":"2026-03-03T04:52:20.456876Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2020-13170","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2020-13170","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:48:30Z","relation":"self"}]}
