{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-2816",
        "ASSIGNER": "security@hashicorp.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Consul and Consul Enterprise allowed any user with service:write permissions to use Envoy extensions configured via service-defaults to patch remote proxy instances that target the configured service, regardless of whether the user has permission to modify the service(s) corresponding to those modified proxies."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-266: Incorrect Privilege Assignment",
                        "cweId": "CWE-266"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "HashiCorp",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Consul",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "1.15.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "1.15.1"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "1.15.2"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Consul Enterprise",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "1.15.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "1.15.1"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "1.15.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://discuss.hashicorp.com/t/hcsec-2023-16-consul-envoy-extension-downstream-proxy-configuration-by-upstream-service-owner/54525",
                "refsource": "MISC",
                "name": "https://discuss.hashicorp.com/t/hcsec-2023-16-consul-envoy-extension-downstream-proxy-configuration-by-upstream-service-owner/54525"
            }
        ]
    },
    "source": {
        "advisory": "HCSEC-2023-16",
        "discovery": "INTERNAL"
    },
    "impact": {
        "cvss": [
            {
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N",
                "version": "3.1"
            }
        ]
    }
}