{"id":"CVE-2021-41803","aliases":["CVE-2021-41803","GHSA-hr3v-8cp3-68rf","BIT-CONSUL-2021-41803","GO-2024-2683"],"related":[],"kind":"vulnerability","state":"published","title":"HashiCorp Consul does not properly validate node or segment names prior to usage in JWT claim assertions","summary":"HashiCorp Consul 1.8.1 up to 1.11.8, 1.12.4, and 1.13.1 do not properly validate the node or segment names prior to interpolation and usage in JWT claim assertions with the auto config RPC. Fixed in 1.11.9, 1.12.5, and 1.13.2.\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"HashiCorp Consul 1.8.1 up to 1.11.8, 1.12.4, and 1.13.1 do not properly validate the node or segment names prior to interpolation and usage in JWT claim assertions with the auto config RPC. Fixed in 1.11.9, 1.12.5, and 1.13.2.\"","source":"cvelist"},{"lang":"en","text":"HashiCorp Consul 1.8.1 up to 1.11.8, 1.12.4, and 1.13.1 did not properly validate the node or segment names prior to interpolation and usage in JWT claim assertions with the auto config RPC. Fixed in 1.11.9, 1.12.5, and 1.13.2.","format":"markdown","source":"ghsa"},{"lang":"en","text":"HashiCorp Consul does not properly validate the node or segment names prior to interpolation and usage in JWT claim assertions with the auto config RPC.","format":"markdown","source":"go"},{"lang":"es","text":"HashiCorp Consul versiones 1.8.1 hasta 1.11.8, 1.12.4 y 1.13.1, no comprueban apropiadamente los nombres de nodos o segmentos antes de la interpolación y el uso en las aserciones de reclamación JWT con el RPC de configuración automática. Corregido en versiones 1.11.9, 1.12.5 y 1.13.2\".","source":"nvd"}],"published":"2022-09-23T00:00:00.000Z","modified":"2026-09-08T08:46:00.261Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.8.1","status":"affected","fixed":"1.11.9"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.12.0","status":"affected","fixed":"1.12.5"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.13.0","status":"affected","fixed":"1.13.2"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.8.1","status":"affected","fixed":"1.11.9"},{"type":"semver","introduced":"1.12.0","status":"affected","fixed":"1.12.5"},{"type":"semver","introduced":"1.13.0","status":"affected","fixed":"1.13.2"}],"ecosystem":"Go","package":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","source":"go"},{"ranges":[{"status":"affected","introduced":"1.8.1","fixed":"1.11.9"},{"status":"affected","introduced":"1.8.1","fixed":"1.11.9"},{"status":"affected","version":"1.12.4"},{"status":"affected","version":"1.12.4"},{"status":"affected","version":"1.13.1"},{"status":"affected","version":"1.13.1"}],"vendor":"hashicorp","product":"consul","cpe":"cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.8.1","status":"affected","fixed":"1.11.9"},{"type":"semver","introduced":"1.12.4","status":"affected","fixed":"1.12.5"},{"type":"semver","introduced":"1.13.1","status":"affected","fixed":"1.13.2"}],"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","source":"bitnami"}],"references":[{"url":"https://www.hashicorp.com/blog/category/consul","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627","tags":["advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41803","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/hashicorp/consul/pull/14577/commits/2c881259ce10e308ff03afc968c4165998fd7fee","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/hashicorp/consul","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI","tags":["web"],"sources":["ghsa"]}],"credits":["anonymous4ACL24"],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-27T15:21:40.244Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41803","url":"https://www.cve.org/CVERecord?id=CVE-2021-41803","licence":"CVE Terms of Use","modified":"2025-05-27T15:22:09.400Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hr3v-8cp3-68rf","url":"https://github.com/advisories/GHSA-hr3v-8cp3-68rf","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:08.554Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2683","url":"https://pkg.go.dev/vuln/GO-2024-2683","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:27.004Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41803","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41803","licence":"Public domain","modified":"2026-06-17T04:08:56.557Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CONSUL-2021-41803","url":"https://osv.dev/vulnerability/BIT-CONSUL-2021-41803","licence":"Apache-2.0","modified":"2026-09-08T08:46:00.261Z"}],"updatedAt":"2026-11-25T22:58:07.828Z","epss":{"score":0.01141,"percentile":0.67563,"date":"2026-12-01T12:00:22.000Z"}}