CVE-2023-3518
Consul vulnerability analysis and mitigation

Overview

HashiCorp Consul and Consul Enterprise 1.16.0 contained a vulnerability (CVE-2023-3518) in the JWT authentication mechanism for service mesh that incorrectly allowed or denied access regardless of service identities. The vulnerability was discovered through internal testing by the Consul engineering team and was fixed in version 1.16.1 (HashiCorp Advisory).

Technical details

The vulnerability affects the JWT authentication implementation for service mesh introduced in Consul 1.16.0. The issue allows two source intentions that would restrict access to an endpoint with differing JWT providers to cause only one JWT validation configuration to be used. This could result in some service identities being allowed with mismatching JWTs. The vulnerability has been assigned a CVSS v3.1 base score of 7.3 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L (NVD).

Impact

The vulnerability could allow unauthorized access to services within the mesh by bypassing intended JWT authentication controls. This could potentially lead to unauthorized access to sensitive endpoints and compromise of service mesh security controls (HashiCorp Advisory).

Mitigation and workarounds

Users should upgrade to Consul version 1.16.1 or newer to address this vulnerability. HashiCorp has provided upgrade guidance in their Consul's Upgrading documentation. Organizations should evaluate the risk associated with this issue and prioritize the upgrade accordingly (HashiCorp Advisory).

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