CVE-2021-41805: HashiCorp Consul Enterprise before 1.8.17, 1.9.x before 1.9.11, and 1.10.x before 1.10.4 has Incorrect Access Control.
High CVSS 8.8
- CVE id
- CVE-2021-41805
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Consul Enterprise Runtimes and servers |
>= 1.7.0, < 1.8.17 >= 1.9.0, < 1.9.11 >= 1.10.0, < 1.10.4 |
1.8.17, 1.9.11, 1.10.4 |
How to fix it
Upgrade Consul Enterprise to the fixed release of the line you run: 1.8.17, 1.9.11, 1.10.4.
consul version
- Upgrade Consul Enterprise (the hashicorp/consul-enterprise image or binary) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
HashiCorp Consul Enterprise before 1.8.17, 1.9.x before 1.9.11, and 1.10.x before 1.10.4 has Incorrect Access Control. An ACL token (with the default operator:write permissions) in one namespace can be used for unintended privilege escalation in a different namespace.
References
- CVE-2021-41805 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-41805
- Web: https://discuss.hashicorp.com/t/hcsec-2021-29-consul-enterprise-namespace-default-acls-allow-privilege-escalation/31871
- Web: https://security.netapp.com/advisory/ntap-20211229-0007/
- Web: https://www.hashicorp.com/blog/category/consul
- Web: https://discuss.hashicorp.com/t/hcsec-2021-29-consul-enterprise-namespace-default-acls-allow-privilege-escalation/31871
- Web: https://security.netapp.com/advisory/ntap-20211229-0007/
- Web: https://www.hashicorp.com/blog/category/consul
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.