CVE-2021-32574 Hashicorp Consul Missing SSL Certificate Validation

High 7.5 Published Updated

Attackers can bypass TLS identity validation in Consul's Envoy proxy integration, allowing unauthorized service communication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-32574?

CVE-2021-32574 is a high-severity vulnerability in n/a, published on 17 Jul 2021. 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.3.0 through 1.10.0 Envoy proxy TLS configuration does not validate destination service identity in the encoded subject alternative name. Fixed in 1.8.14, 1.9.8, and 1.10.1.

Weakness: CWE-295

Which versions are affected by CVE-2021-32574?

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

PackageAffectedFixed in
github.com/hashicorp/consul GoAll versions1.10.1
github.com/hashicorp/consul GoAll versions1.10.1
github.com/hashicorp/consul GoAll versions1.10.1
consul BitnamiFrom 1.3.01.8.14, 1.9.8, 1.10.1

Products include Hashicorp Consul.

How do I fix CVE-2021-32574?

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

Is CVE-2021-32574 being exploited?

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

Sources

Also known as BIT-consul-2021-32574, DEBIAN-CVE-2021-32574, GHSA-25gf-8qrr-g78r, GO-2022-0894, UBUNTU-CVE-2021-32574.

Is CVE-2021-32574 in your software?

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

Check your SBOMs for free