CVE-2019-8336 HashiCorp Consul Access Restriction Bypass

High 8.1 Published Updated

Attackers can bypass access restrictions to obtain privileges of arbitrary tokens in secondary datacenters by exploiting a hardcoded secret value.

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-8336?

CVE-2019-8336 is a high-severity authentication bypass vulnerability in n/a, published on 5 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

HashiCorp Consul (and Consul Enterprise) 1.4.x before 1.4.3 allows a client to bypass intended access restrictions and obtain the privileges of one other arbitrary token within secondary datacenters, because a token with literally "<hidden>" as its secret is used in unusual circumstances.

Which versions are affected by CVE-2019-8336?

3 open source packages ship an affected version, including github.com/hashicorp/consul. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/consul GoFrom 1.4.01.4.3
github.com/hashicorp/consul GoFrom 1.4.01.4.3
github.com/hashicorp/consul GoFrom 1.4.01.4.3

Products include Hashicorp Consul.

How do I fix CVE-2019-8336?

Upgrade github.com/hashicorp/consul to 1.4.3 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2019-8336 being exploited?

There is no known exploitation of CVE-2019-8336 in the wild and no public exploit code.

Sources

Also known as GHSA-fhm8-cxcv-pwvc, GO-2023-1945.

Is CVE-2019-8336 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free