CVE-2020-12797 json
Incorrect Permission Assignment for Critical Resource in Hashicorp Consul
published 6y ago modified 2mo ago also BIT-consul-2020-12797 , EUVD-2021-1337 , GHSA-hwqm-x785-qh8p , GO-2022-0847
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
HashiCorp 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.
Patch / fix
- go github.com/hashicorp/consul 1.6.6, 1.7.4
- bitnami consul 1.6.7, 1.7.4
- hashicorp consul 1.6.6, 1.7.4
- consul Debian 11 1.7.4+dfsg1-1
debian advisories DEBIAN-CVE-2020-12797
- github.com/hashicorp/consul@98eea08 commit
- github.com/hashicorp/consul#8047 pull request
Is CVE-2020-12797 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.55% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/consul | >=1.6.0, <1.6.6 >=1.7.0, <1.7.4 |
1.6.6 1.7.4 |
| bitnami | consul | >=1.4.0, <1.6.7 >=1.7.0, <1.7.4 |
1.6.7 1.7.4 |
Classification
- Weakness
-
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
-
github.com
/hashicorp/consul/pull/8047
web, patch, third-party-advisory, advisory
-
github.com
/hashicorp/consul/commit/98eea08d3ba1b220a14cf6eedf3b6b07ae2795d7
web, patch
-
github.com
/hashicorp/consul/blob/v1.6.6/CHANGELOG.md
web, release-notes, third-party-advisory, advisory
-
github.com
/hashicorp/consul/blob/v1.7.4/CHANGELOG.md
web, release-notes, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-12797
advisory, web
-
github.com
/hashicorp/consul/issues/5606
web, report
-
github.com
/advisories/GHSA-hwqm-x785-qh8p
advisory
Sources
- CVE List CVE-2020-12797
- GitHub Advisory GHSA-hwqm-x785-qh8p
- NVD CVE-2020-12797
- OSV BIT-consul-2020-12797
- OSV GO-2022-0847
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.