CVE-2021-41803
HIGH 7.1CVSS 3.1HashiCorp Consul does not properly validate node or segment names prior to usage in JWT claim assertions
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."
- Published
- 23 Sep 2022
- Last modified
- 7 Aug 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-862
- Also known as
- BIT-consul-2021-41803GHSA-hr3v-8cp3-68rfGO-2024-2683
- Sources
- NVDJSONOSV GHSA-hr3v-8cp3-68rfJSONOSV GO-2024-2683JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.8.1, < 1.11.9 | 1.11.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.8.1, < 1.11.9 | 1.11.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:1.12.4:*:*:*:-:*:*:* |
= 1.12.4 | |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:1.12.4:*:*:*:enterprise:*:*:* |
= 1.12.4 | |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:1.13.1:*:*:*:-:*:*:* |
= 1.13.1 | |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:1.13.1:*:*:*:enterprise:*:*:* |
= 1.13.1 | |
| OSV | Go | github.com/hashicorp/consul | >= 1.8.1, < 1.11.9 | 1.11.9 |
| OSV | Go | github.com/hashicorp/consul | >= 1.12.0, < 1.12.5 | 1.12.5 |
| OSV | Go | github.com/hashicorp/consul | >= 1.13.0, < 1.13.2 | 1.13.2 |
| OSV | Go | github.com/hashicorp/consul | >= 1.8.1, < 1.11.9; >= 1.12.0, < 1.12.5; >= 1.13.0, < 1.13.2 | 1.11.9, 1.12.5, 1.13.2 |
References
- https://discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627 · Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/
- https://www.hashicorp.com/blog/category/consul · Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-41803 · ADVISORY
- https://github.com/hashicorp/consul/pull/14577/commits/2c881259ce10e308ff03afc968c4165998fd7fee · WEB, FIX
- https://github.com/hashicorp/consul · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 23 Sep 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Apr 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Sep 2022)