{"id":"CVE-2021-38698","aliases":["CVE-2021-38698","GHSA-6hw5-6gcx-phmw","BIT-CONSUL-2021-38698","GO-2022-0559"],"related":["CGA-3jj9-fgg8-r8jj"],"kind":"vulnerability","state":"published","title":"HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic.","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. Fixed in 1.8.15, 1.9.9 and 1.10.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"HashiCorp Consul and Consul Enterprise 1.10.1 Txn.Apply endpoint allowed services to register proxies for other services, enabling access to service traffic. in github.com/hashicorp/consul","format":"markdown","source":"go"},{"lang":"es","text":"El endpoint Txn.Apply de HashiCorp Consul y Consul Enterprise versión 1.10.1, permitía que los servicios registraran proxies para otros servicios, permitiendo el acceso al tráfico de los mismos. Corregido en versiones 1.8.15, 1.9.9 y 1.10.2","source":"nvd"}],"published":"2021-09-07T11:45:14.000Z","modified":"2026-09-10T03:49:08.568Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-862","CWE-863"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.10.1","status":"affected","fixed":"1.10.2"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.9.9"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.15"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.15"},{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.9.9"},{"type":"semver","introduced":"1.10.1","status":"affected","fixed":"1.10.2"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"go"},{"ranges":[{"status":"affected","fixed":"1.8.15"},{"status":"affected","fixed":"1.8.15"},{"status":"affected","introduced":"1.9.0","fixed":"1.9.9"},{"status":"affected","introduced":"1.9.0","fixed":"1.9.9"},{"status":"affected","introduced":"1.10.0","fixed":"1.10.2"},{"status":"affected","introduced":"1.10.0","fixed":"1.10.2"}],"vendor":"hashicorp","product":"consul","cpe":"cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.15"},{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.9.9"},{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.10.2"}],"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","source":"bitnami"}],"references":[{"url":"https://www.hashicorp.com/blog/category/consul","tags":["advisory","product","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-24-consul-missing-authorization-check-on-txn-apply-endpoint/29026","tags":["advisory","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202208-09","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38698","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/hashicorp/consul/pull/10824","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/consul","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-6hw5-6gcx-phmw","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-38698","url":"https://www.cve.org/CVERecord?id=CVE-2021-38698","licence":"CVE Terms of Use","modified":"2024-08-04T01:51:19.213Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6hw5-6gcx-phmw","url":"https://github.com/advisories/GHSA-6hw5-6gcx-phmw","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:08.568Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0559","url":"https://pkg.go.dev/vuln/GO-2022-0559","licence":"CC-BY-4.0","modified":"2026-02-04T03:16:50.718Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-38698","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38698","licence":"Public domain","modified":"2026-06-17T04:02:36.883Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CONSUL-2021-38698","url":"https://osv.dev/vulnerability/BIT-CONSUL-2021-38698","licence":"Apache-2.0","modified":"2026-09-08T08:45:58.864Z"}],"updatedAt":"2026-11-25T22:58:03.674Z","epss":{"score":0.01423,"percentile":0.73678,"date":"2026-12-01T12:00:22.000Z"}}