CVE-2021-38698Hashicorp Consul
Medium 6.5
Follow: this CVE · Hashicorp · Hashicorp Consul We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Consul.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | consul | < 1.8.15 |
| hashicorp | consul | < 1.8.15 |
| hashicorp | consul | ≥ 1.9.0 < 1.9.9 |
| hashicorp | consul | ≥ 1.9.0 < 1.9.9 |
| hashicorp | consul | ≥ 1.10.0 < 1.10.2 |
| hashicorp | consul | ≥ 1.10.0 < 1.10.2 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory
- security.gentoo.org Third Party Advisory
- www.hashicorp.com Product Vendor Advisory