Skip to content
Fencer Vulns
high 7.1

CVE-2021-41803 json

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

published 2022-09-23 4 y ago modified 2026-09-08 2 mo ago also BIT-consul-2021-41803 , EUVD-2022-6841 , GHSA-hr3v-8cp3-68rf , GO-2024-2683

cvss
7.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 65%
public exploits
0
none known

Summary

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

Patch / fix

  • go github.com/hashicorp/consul 1.11.9, 1.12.5, 1.13.2
  • bitnami consul 1.11.9, 1.12.5, 1.13.2
  • hashicorp consul 1.11.9
  • consul Alpine 3.16 1.12.5-r0
  • consul Alpine 3.18, Alpine 3.17 1.13.2-r0

alpine advisories ALPINE-CVE-2021-41803

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-41803 updated cvss 7.1

consul: Consul Auto-Config JWT Authorization Missing Input Validation

  • Red Hat OpenShift Container Platform 4 openshift4/ose-grafana, openshift4/topology-aware-lifecycle-manager-rhel8-operator
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Openshift Data Foundation 4 odf4/odr-rhel8-operator, odf4/odf-multicluster-rhel9-operator
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift Dev Spaces devspaces/traefik-rhel8
    affected: workaround, no fix available
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/acm-grafana-rhel8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
17 mo ago

Exploit prediction

1.07% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
GitHub 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
NVD 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
CNA 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H
OSV 3.1 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H

Affected packages

ecosystem package affected fixed in
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
bitnami consul
>=1.8.1, <1.11.9
>=1.12.4, <1.12.5
>=1.13.1, <1.13.2
1.11.9
1.12.5
1.13.2

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.