CVE-2021-41803
JSON

7.1high

HashiCorp Consul does not properly validate node or segment names prior to usage in JWT claim assertions

Severity
7.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.14% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-hr3v-8cp3-68rfBIT-CONSUL-2021-41803GO-2024-2683

Description

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."

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
github.com/hashicorp/consul (Go)from 1.8.1 before 1.11.9, from 1.12.0 before 1.12.5, from 1.13.0 before 1.13.2GitHub Advisory Database, Go Vulnerability Database
hashicorp consulfrom 1.8.1 before 1.11.9, 1.12.4, 1.13.1NVD
consul (Bitnami)from 1.8.1 before 1.11.9, from 1.12.4 before 1.12.5, from 1.13.1 before 1.13.2Bitnami Vulnerability Database

All scores

CISA-ADP7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
GitHub7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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."

GitHub Advisory Database

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.

Go Vulnerability Database

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.

NVD (es)

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".

References

https://www.hashicorp.com/blog/category/consuladvisory, vendor-advisory
https://discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627advisory, vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/vendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-41803advisory, web
https://github.com/hashicorp/consul/pull/14577/commits/2c881259ce10e308ff03afc968c4165998fd7feefix, web
https://github.com/hashicorp/consulpackage
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHCweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFEweb
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAIweb

Sources

SourceRecordLicence
CVE ListCVE-2021-41803 changed 2025-05-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-hr3v-8cp3-68rf changed 2026-08-07CC-BY-4.0
Go Vulnerability DatabaseGO-2024-2683 changed 2026-08-07CC-BY-4.0
NVDCVE-2021-41803 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-CONSUL-2021-41803 changed 2026-09-08Apache-2.0