{"id":"CVE-2021-38698","aliases":["GHSA-6hw5-6gcx-phmw","BIT-consul-2021-38698","GO-2022-0559"],"title":"HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access…","summary":"HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic.","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","vendor":"hashicorp","product":"github.com/hashicorp/consul","ecosystem":"go","affected":["github.com/hashicorp/consul >= 1.10.1, < 1.10.2","github.com/hashicorp/consul >= 1.9.0, < 1.9.9","github.com/hashicorp/consul < 1.8.15"],"patched":["github.com/hashicorp/consul 1.10.2","github.com/hashicorp/consul 1.9.9","github.com/hashicorp/consul 1.8.15"],"published":"2021-09-08","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:49:08.568208801Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-6hw5-6gcx-phmw","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38698"},{"url":"https://github.com/hashicorp/consul/pull/10824"},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026"},{"url":"https://github.com/hashicorp/consul"},{"url":"https://security.gentoo.org/glsa/202208-09"},{"url":"https://www.hashicorp.com/blog/category/consul"}],"tags":["osv","go"],"epss":0.01423,"epssPercentile":0.71309,"ingestedAt":"2026-09-12T03:13:01.759Z","slug":"CVE-2021-38698","body":"## Overview\n\nHashiCorp 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.\n\n## Affected packages\n\n- `github.com/hashicorp/consul >= 1.10.1, < 1.10.2`\n- `github.com/hashicorp/consul >= 1.9.0, < 1.9.9`\n- `github.com/hashicorp/consul < 1.8.15`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/hashicorp/consul 1.10.2`\n- `github.com/hashicorp/consul 1.9.9`\n- `github.com/hashicorp/consul 1.8.15`","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.3,"exploitation":0,"ransomware":0},"changes":[]}