Live threats

All CVEs / Hashicorp

CVE-2021-38698Hashicorp Consul

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
Yes
Published
Sep 7, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. Fixed in 1.8.15, 1.9.9 and 1.10.2.

Original NVD text.

What to do

  1. Apply the vendor's security update for Consul.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/consul ≥ 1.10.1 < 1.10.2 1.10.2 go get github.com/hashicorp/consul@v1.10.2
Go github.com/hashicorp/consul ≥ 1.9.0 < 1.9.9 1.9.9 go get github.com/hashicorp/consul@v1.9.9
Go github.com/hashicorp/consul < 1.8.15 1.8.15 go get github.com/hashicorp/consul@v1.8.15
Go github.com/hashicorp/consul < 1.8.15 1.8.15 go get github.com/hashicorp/consul@v1.8.15
Go github.com/hashicorp/consul ≥ 1.9.0 < 1.9.9 1.9.9 go get github.com/hashicorp/consul@v1.9.9
Go github.com/hashicorp/consul ≥ 1.10.1 < 1.10.2 1.10.2 go get github.com/hashicorp/consul@v1.10.2

Per OSV / GitHub Advisories (GHSA-6hw5-6gcx-phmw, GO-2022-0559). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpconsul< 1.8.15
hashicorpconsul< 1.8.15
hashicorpconsul≥ 1.9.0 < 1.9.9
hashicorpconsul≥ 1.9.0 < 1.9.9
hashicorpconsul≥ 1.10.0 < 1.10.2
hashicorpconsul≥ 1.10.0 < 1.10.2

Official sources

References

Links published by the sources. Open them with care.