{"id":"UBUNTU-CVE-2021-41803","details":"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.\"","modified":"2025-10-24T04:50:35Z","published":"2022-09-23T01:15:00Z","upstream":["CVE-2021-41803"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-41803"},{"type":"REPORT","url":"https://www.hashicorp.com/blog/category/consul"},{"type":"REPORT","url":"https://discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-41803"}],"affected":[{"package":{"name":"consul","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/consul@0.6.4~dfsg-3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.4~dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_name":"consul","binary_version":"0.6.4~dfsg-3"},{"binary_version":"0.6.4~dfsg-3","binary_name":"golang-github-hashicorp-consul-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41803.json"}},{"package":{"name":"consul","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/consul@1.5.2+dfsg2-14?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.7~dfsg1-5ubuntu1","1.4.4~dfsg1-2ubuntu2","1.5.2+dfsg1-6","1.5.2+dfsg1-10","1.5.2+dfsg1-12","1.5.2+dfsg2-14"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.2+dfsg2-14","binary_name":"consul"},{"binary_name":"golang-github-hashicorp-consul-dev","binary_version":"1.5.2+dfsg2-14"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41803.json"}},{"package":{"name":"consul","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/consul@1.8.7+dfsg1-3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4+dfsg1-1","1.8.7+dfsg1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.7+dfsg1-3","binary_name":"consul"},{"binary_name":"golang-github-hashicorp-consul-dev","binary_version":"1.8.7+dfsg1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41803.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}