{"id":"CVE-2021-41803","published":"2022-09-23T00:00:00Z","modified":"2025-05-27T15:22:09Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"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.\"","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01141,"percentile":0.67429,"provenance":"source"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://www.hashicorp.com/blog/category/consul","tags":[]},{"url":"https://discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/","tags":["vendor-advisory"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":13.49},{"name":"CVSS severity","points":4.97}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-27T15:21:40.244278Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","vulnerableRanges":[">=1.8.1, <1.11.9",">=1.12.0, <1.12.5",">=1.13.0, <1.13.2"],"patched":["1.11.9","1.12.5","1.13.2"],"from":["GHSA-hr3v-8cp3-68rf","GO-2024-2683"],"provenance":"source"}],"summary":{"text":"The flaw is in HashiCorp Consul's auto config RPC, where node and segment names are not properly validated before being interpolated into JWT claim assertions. An attacker with network access to the Consul server and low-privileged credentials, and no user interaction, can exploit this missing authorization check to affect the service's availability and read limited information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:48Z"},"euvd":{"id":"EUVD-2022-6841","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-github-com-hashicorp-consul-cve-2021-41803","children":[{"from":"CVE-2021-41803","to":"CVE-2022-40716","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["agent/consul/auto_config_endpoint.go"],"commits":["https://github.com/hashicorp/consul/commit/2c881259ce10e308ff03afc968c4165998fd7fee","https://github.com/hashicorp/consul/commit/8f6fb4f6fe9488b8ec37da71ac503081d7d3760b"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2021-38698","published":"2021-09-07","fixed":"1.10.2","kev":false},{"cve":"CVE-2022-24687","published":"2022-02-24","fixed":"1.11.3","kev":false},{"cve":"CVE-2022-29153","published":"2022-04-19","fixed":"1.11.5","kev":false,"link":{"from":"CVE-2022-29153","to":"CVE-2021-41803","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/consul","fromFixed":"1.11.5","toFixed":"1.11.9","daysApart":157}]}},{"cve":"CVE-2021-41803","published":"2022-09-23","fixed":"1.13.2","kev":false},{"cve":"CVE-2022-40716","published":"2022-09-23","fixed":"1.13.2","kev":false},{"cve":"CVE-2022-3920","published":"2022-11-15","fixed":"1.14.0","kev":false},{"cve":"CVE-2023-0845","published":"2023-03-09","fixed":"1.14.5","kev":false}],"package":"Go:github.com/hashicorp/consul"}}