CVE-2019-12291 HashiCorp Consul Incorrect Access Control vulnerability
Attackers with specific ACL tokens can delete keys outside their permitted prefix scope in HashiCorp Consul, violating access control policies.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-12291?
CVE-2019-12291 is a high-severity missing authorization vulnerability in n/a, published on 6 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HashiCorp Consul 1.4.0 through 1.5.0 has Incorrect Access Control. Keys not matching a specific ACL rule used for prefix matching in a policy can be deleted by a token using that policy even with default deny settings configured.
Which versions are affected by CVE-2019-12291?
3 open source packages ship an affected version, including github.com/hashicorp/consul. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/consul Go | From 1.4.0 | 1.5.1 |
github.com/hashicorp/consul Go | From 1.4.0 | 1.5.1 |
github.com/hashicorp/consul Go | From 1.4.0 | 1.5.1 |
Products include Hashicorp Consul.
How do I fix CVE-2019-12291?
Upgrade github.com/hashicorp/consul to 1.5.1 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2019-12291 being exploited?
There is no known exploitation of CVE-2019-12291 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2021-41805 Privilege escalation in n/a
- CVE-2021-37219 HashiCorp Consul Privilege Escalation Vulnerability
- CVE-2023-2816 Consul Envoy Extension Downsteam Proxy Configuration By Upstream Service Owner
- CVE-2024-10006 Consul L7 Intentions Vulnerable To Headers Bypass
- CVE-2024-10005 Consul L7 Intentions Vulnerable To URL Path Bypass
Sources
Also known as DEBIAN-CVE-2019-12291, GHSA-h65h-v7fw-4p38, GO-2023-1852, UBUNTU-CVE-2019-12291.