Skip to content
OpenAdvisories
High · 7.1 CVE-2021-41803 BIT-consul-2021-41803EUVD-2022-6841GHSA-hr3v-8cp3-68rfGO-2024-2683

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

Published Sep 23, 2022 · Updated May 27, 2025 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 consul No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS consul No fix yet —
Ubuntu 20.04 LTS consul No fix yet —
Ubuntu 18.04 LTS consul No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.18 consul 1.13.2-r0 —
Alpine v3.17 consul 1.13.2-r0 —
Alpine v3.16 consul 1.12.5-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/consul >= 1.8.1, < 1.11.9 1.11.9 GHSA-hr3v-8cp3-68rf
Go github.com/hashicorp/consul >= 1.12.0, < 1.12.5 1.12.5 GHSA-hr3v-8cp3-68rf
Go github.com/hashicorp/consul >= 1.13.0, < 1.13.2 1.13.2 GHSA-hr3v-8cp3-68rf
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 GO-2024-2683

References