CVE-2023-2816:
Hashicorp Consul allows user with service:write permissions to patch remote proxy instances
8.7
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
6/3/2023
Updated
9/26/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/hashicorp/consul | go | >= 1.15.0, < 1.15.3 | 1.15.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper privilege validation when applying Envoy extensions configured via service-defaults. The advisory indicates Lambda and Lua extensions shared configuration logic that incorrectly allowed service:write holders to modify downstream proxies via 'outbound' listeners. The functions handling extension application (particularly for non-Lambda extensions) would need to 1) process service-defaults configurations and 2) propagate changes to proxies without proper target service authorization checks. These functions are core to the privilege escalation mechanism described, even without direct access to the patch diff.