Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41803

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41803
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:36 UTC · Revision 1

Source evidence

CVE-2021-41803

core-osv · Original source

Published 23 Sept 2022, 01:15 UTC

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

osv:CVE-2021-41803
Complete source record
{
  "id": "32e9d834fca2d0160f2100e560d848a403ceb61dda4bae03f73b22a51b5ae3a1",
  "url": "https://osv.dev/vulnerability/CVE-2021-41803",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41803",
    "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.\"",
    "evidence": "osv:CVE-2021-41803",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-41803",
      "aliases": [
        "BIT-consul-2021-41803",
        "CVE-2021-41803",
        "GHSA-hr3v-8cp3-68rf",
        "GO-2024-2683"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/consul",
              "type": "GIT",
              "events": [
                {
                  "introduced": "12f574c9de39153466c65854d8dc32b467e6aa82"
                },
                {
                  "fixed": "716c835ecea933fa207c96d7f7363422c73069c8"
                },
                {
                  "introduced": "94542765739cff9b09469e1fc5e738ae8a334038"
                },
                {
                  "last_affected": "c6d0f9ecc48e2044db04f5795e997bd9179586de"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.1"
                      },
                      {
                        "fixed": "1.11.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.1"
                      },
                      {
                        "fixed": "1.11.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:1.12.4:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.4"
                      },
                      {
                        "last_affected": "1.12.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:1.12.4:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.12.4"
                      },
                      {
                        "last_affected": "1.12.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:1.13.1:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "1.13.1"
                      },
                      {
                        "last_affected": "1.13.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:1.13.1:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.13.1"
                      },
                      {
                        "last_affected": "1.13.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.12.4",
            "1.13.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41803.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:30.962464310Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/",
        "https://discuss.hashicorp.com/t/hcsec-2022-19-consul-auto-config-jwt-authorization-missing-input-validation/44627",
        "https://www.hashicorp.com/blog/category/consul"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-41803",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432703,
  "published_at": "2022-09-23T01:15:08.623+00:00"
}