{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/46194?format=json","vulnerability_id":"VCID-th2f-96u1-syhg","summary":"Incorrect Permission Assignment for Critical Resource\tin Hashicorp Consul\nHashiCorp Consul and Consul Enterprise failed to enforce changes to legacy ACL token rules due to non-propagation to secondary data centers. Introduced in 1.4.0, fixed in 1.6.6 and 1.7.4.\n### Specific Go Packages Affected\ngithub.com/hashicorp/consul/agent/structs","aliases":[{"alias":"CVE-2020-12797"},{"alias":"GHSA-hwqm-x785-qh8p"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/584346?format=json","purl":"pkg:deb/debian/consul@1.7.4%2Bdfsg1-1?distro=bullseye","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@1.7.4%252Bdfsg1-1%3Fdistro=bullseye"},{"url":"http://public2.vulnerablecode.io/api/packages/1049168?format=json","purl":"pkg:deb/debian/consul@1.8.7%2Bdfsg1-2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@1.8.7%252Bdfsg1-2"},{"url":"http://public2.vulnerablecode.io/api/packages/583644?format=json","purl":"pkg:deb/debian/consul@1.8.7%2Bdfsg1-2?distro=bullseye","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@1.8.7%252Bdfsg1-2%3Fdistro=bullseye"},{"url":"http://public2.vulnerablecode.io/api/packages/76655?format=json","purl":"pkg:golang/github.com/hashicorp/consul@1.6.6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.6.6"},{"url":"http://public2.vulnerablecode.io/api/packages/76657?format=json","purl":"pkg:golang/github.com/hashicorp/consul@1.7.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.7.4"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/1049167?format=json","purl":"pkg:deb/debian/consul@1.0.7~dfsg1-5","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2dmf-rj8w-xycm"},{"vulnerability":"VCID-467g-8bds-t3ef"},{"vulnerability":"VCID-cqzz-az3e-kych"},{"vulnerability":"VCID-ftvt-9nb3-xue3"},{"vulnerability":"VCID-gkgb-5g8x-7fgf"},{"vulnerability":"VCID-gsqu-g2y4-a7ap"},{"vulnerability":"VCID-jm2d-ejbf-qfhz"},{"vulnerability":"VCID-mv9z-hxmr-skfp"},{"vulnerability":"VCID-pet2-hhx7-g7fc"},{"vulnerability":"VCID-th2f-96u1-syhg"},{"vulnerability":"VCID-xzyq-wm1j-dkcu"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@1.0.7~dfsg1-5"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2020-12797","reference_id":"","reference_type":"","scores":[{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.6117","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61129","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61095","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61143","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61158","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61178","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61165","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61146","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61186","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61192","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61173","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61162","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61177","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61023","published_at":"2026-04-01T12:55:00Z"},{"value":"0.00407","scoring_system":"epss","scoring_elements":"0.61101","published_at":"2026-04-02T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2020-12797"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12797","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12797"},{"reference_url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md"},{"reference_url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md"},{"reference_url":"https://github.com/hashicorp/consul/commit/98eea08d3ba1b220a14cf6eedf3b6b07ae2795d7","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/hashicorp/consul/commit/98eea08d3ba1b220a14cf6eedf3b6b07ae2795d7"},{"reference_url":"https://github.com/hashicorp/consul/issues/5606","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/hashicorp/consul/issues/5606"},{"reference_url":"https://github.com/hashicorp/consul/pull/8047","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/hashicorp/consul/pull/8047"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12797","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-12797"}],"weaknesses":[{"cwe_id":732,"name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-th2f-96u1-syhg"}