{"id":"GHSA-p2j5-3f4c-224r","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","aliases":["BIT-consul-2020-13170","CVE-2020-13170","GO-2022-0859"],"modified":"2024-08-21T15:57:34.293196Z","published":"2021-05-18T18:21:21Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-05-12T22:01:59Z","nvd_published_at":null,"cwe_ids":["CWE-20"],"severity":"MODERATE"},"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"}],"affected":[{"package":{"name":"github.com/hashicorp/consul","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/consul"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.6.0-beta1"},{"fixed":"1.6.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-p2j5-3f4c-224r/GHSA-p2j5-3f4c-224r.json"}},{"package":{"name":"github.com/hashicorp/consul","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/consul"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-p2j5-3f4c-224r/GHSA-p2j5-3f4c-224r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}