CVE-2021-41803
HashiCorp 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."
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.1
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."
- Record
CVE-2021-41803- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Weakness
- CWE-862
- Updated
- 2026-11-02
CVE List
7.1
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."
- Record
CVE-2021-41803- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Weakness
- CWE-862
- Updated
- 2026-11-02
EUVDEUVD-2022-6841
7.1
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."
- Record
EUVD-2022-6841- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-hr3v-8cp3-68rf
7.1
HashiCorp 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 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.
- Record
GHSA-hr3v-8cp3-68rf- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Weakness
- CWE-862
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-41803
7.1
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."
- Record
ALPINE-CVE-2021-41803- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-03
OSV
7.1
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."
- Record
CVE-2021-41803- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2021-41803
7.1
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."
- Record
DEBIAN-CVE-2021-41803- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-hr3v-8cp3-68rf
7.1
HashiCorp 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 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.
- Record
GHSA-hr3v-8cp3-68rf- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Weakness
- CWE-862
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-41803
7.1
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."
- Record
UBUNTU-CVE-2021-41803- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
OSVBIT-consul-2021-41803 No score
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."
- Record
BIT-consul-2021-41803- Updated
- 2026-11-02
OSVGO-2024-2683 No score
Improper handling of node names in JWT claims assertions in github.com/hashicorp/consul
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.
- Record
GO-2024-2683- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/hashicorp/consulGo |
1.8.1 up to 1.11.9 | 1.11.9 |
github.com/hashicorp/consulGo |
1.12.0 up to 1.12.5 | 1.12.5 |
github.com/hashicorp/consulGo |
1.13.0 up to 1.13.2 | 1.13.2 |
consulAlpine:v3.16 |
1.8.1 up to 1.12.5-r0 | 1.12.5-r0 |
consulAlpine:v3.17 |
1.8.1 up to 1.13.2-r0 | 1.13.2-r0 |
consulAlpine:v3.18 |
1.8.1 up to 1.13.2-r0 | 1.13.2-r0 |
consulBitnami |
1.8.1 up to 1.11.9, 1.12.4 up to 1.12.5, 1.13.1 up to 1.13.2 | 1.11.91.12.51.13.2 |
consulDebian:11 |
All versions, plus listed versions 1.10.12+dfsg1-11.8.7+dfsg1-21.8.7+dfsg1-31.8.7+dfsg1-41.8.7+dfsg1-51.8.7+dfsg1-61.9.17+dfsg2-1 |
None known |
github.com/hashicorp/consulGo |
1.8.1 up to 1.11.9, 1.12.0 up to 1.12.5, 1.13.0 up to 1.13.2 | 1.11.91.12.51.13.2 |
consulUbuntu:18.04:LTS |
All versions, plus listed versions 0.6.4~dfsg-3 |
None known |
consulUbuntu:20.04:LTS |
All versions, plus listed versions 1.0.7~dfsg1-5ubuntu11.4.4~dfsg1-2ubuntu21.5.2+dfsg1-61.5.2+dfsg1-101.5.2+dfsg1-121.5.2+dfsg2-14 |
None known |
consulUbuntu:22.04:LTS |
All versions, plus listed versions 1.7.4+dfsg1-11.8.7+dfsg1-3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-41803 is a high vulnerability (CVSS 7.1) in Hashicorp Consul, published September 23, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.07%, the 65th percentile. Fixed in github.com/hashicorp/consul 1.11.9.
References
hashicorp.com/blog/category/consul
discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE
nvd.nist.gov/vuln/detail/CVE-2021-41803
Show 10 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC
lists.fedoraproject.org/archives/list/[email protected]/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE
lists.fedoraproject.org/archives/list/[email protected]/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI
github.com/hashicorp/consul/pull/14577/commits/2c881259ce10e308ff03afc968c4165998fd7fee
github.com/advisories/GHSA-hr3v-8cp3-68rf
security.alpinelinux.org/vuln/CVE-2021-41803
security-tracker.debian.org/tracker/CVE-2021-41803
github.com/hashicorp/consul
ubuntu.com/security/CVE-2021-41803
cve.org/CVERecord?id=CVE-2021-41803