---
id: CVE-2023-0845
aliases:
  - GHSA-wj6x-hcc2-f32j
  - BIT-consul-2023-0845
  - GO-2023-1639
title: >-
  Consul Server Panic when Ingress and API Gateways Configured with Peering
  Connections
summary: >-
  Consul Server Panic when Ingress and API Gateways Configured with Peering
  Connections
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: hashicorp
product: github.com/hashicorp/consul
ecosystem: go
affected:
  - 'github.com/hashicorp/consul >= 1.14.0, < 1.14.5'
patched:
  - github.com/hashicorp/consul 1.14.5
published: '2023-03-09'
updated: '2026-08-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-wj6x-hcc2-f32j'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-0845'
  - url: >-
      https://discuss.hashicorp.com/t/hcsec-2023-06-consul-server-panic-when-ingress-and-api-gateways-configured-with-peering-connections/51197
  - url: 'https://github.com/hashicorp/consul'
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI
tags:
  - osv
  - go
epss: 0.01005
epssPercentile: 0.61483
ingestedAt: '2026-08-07T19:14:17.857Z'
---

## Overview

A vulnerability was identified in Consul and Consul Enterprise (“Consul”) an authenticated user with service:write permissions could trigger a workflow that causes Consul server and client agents to crash under certain circumstances. To exploit this vulnerability, an attacker requires access to an ACL token with service:write permissions, and there needs to be at least one running ingress or API gateway that is configured to route traffic to an upstream service.

## Affected packages

- `github.com/hashicorp/consul >= 1.14.0, < 1.14.5`

## Remediation

Upgrade to a patched release:

- `github.com/hashicorp/consul 1.14.5`
