CVE-2023-0845
Consul vulnerability analysis and mitigation

Overview

A vulnerability was identified in Consul and Consul Enterprise (CVE-2023-0845) where an authenticated user with service:write permissions could trigger a workflow that causes Consul server and client agents to crash under certain circumstances. The vulnerability was discovered in March 2023 and affected Consul versions 1.14.0 up to 1.14.4, with a fix released in version 1.14.5 (HashiCorp Discuss).

Technical details

The vulnerability occurs in Consul's cluster peering feature, which supports connections between independent clusters for service communication across partitions or datacenters. The issue specifically manifests when configuring upstreams to reference a peering destination in conjunction with API or ingress gateways. The vulnerability requires an attacker to have access to an ACL token with service:write permissions, and there needs to be at least one running ingress or API gateway configured to route traffic to an upstream service (HashiCorp Discuss).

Impact

When successfully exploited, this vulnerability can cause Consul server and client agents to crash, potentially leading to service disruption. The crash specifically affects the xDS connection to an API gateway or ingress gateway (HashiCorp Discuss).

Mitigation and workarounds

The recommended mitigation is to upgrade to Consul version 1.14.5 or newer. Organizations should evaluate the risk associated with this issue and plan their upgrade accordingly (HashiCorp Discuss).

Additional resources


SourceThis report was generated using AI

Related Consul vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-5332HIGH8.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 04, 2023
CVE-2023-3518HIGH7.3
  • ConsulConsul
  • cpe:2.3:a:hashicorp:consul
NoYesAug 09, 2023
CVE-2024-10086MEDIUM6.1
  • ConsulConsul
  • consul-fips-1.21
NoYesOct 30, 2024
CVE-2024-10006MEDIUM5.8
  • ConsulConsul
  • github.com/hashicorp/consul
NoYesOct 30, 2024
CVE-2024-10005MEDIUM5.8
  • ConsulConsul
  • github.com/hashicorp/consul
NoYesOct 30, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management