{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2022-23536", "ASSIGNER": "security-advisories@github.com", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "Cortex provides multi-tenant, long term storage for Prometheus. A local file inclusion vulnerability exists in Cortex versions 1.13.0, 1.13.1 and 1.14.0, where a malicious actor could remotely read local files as a result of parsing maliciously crafted Alertmanager configurations when submitted to the Alertmanager Set Configuration API. Only users of the Alertmanager service where `-experimental.alertmanager.enable-api` or `enable_api: true` is configured are affected. Affected Cortex users are advised to upgrade to patched versions 1.13.2 or 1.14.1. However as a workaround, Cortex administrators may reject Alertmanager configurations containing the `api_key_file` setting in the `opsgenie_configs` section before sending to the Set Alertmanager Configuration API." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-73: External Control of File Name or Path", "cweId": "CWE-73" } ] }, { "description": [ { "lang": "eng", "value": "CWE-184: Incomplete List of Disallowed Inputs", "cweId": "CWE-184" } ] }, { "description": [ { "lang": "eng", "value": "CWE-641: Improper Restriction of Names for Files and Other Resources", "cweId": "CWE-641" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "cortexproject", "product": { "product_data": [ { "product_name": "cortex", "version": { "version_data": [ { "version_value": ">= 1.13.0, <= 1.13.1", "version_affected": "=" }, { "version_value": "= 1.14.0", "version_affected": "=" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j", "refsource": "MISC", "name": "https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j" }, { "url": "https://cortexmetrics.io/docs/api/#set-alertmanager-configuration", "refsource": "MISC", "name": "https://cortexmetrics.io/docs/api/#set-alertmanager-configuration" }, { "url": "https://github.com/cortexproject/cortex/releases/tag/v1.13.2", "refsource": "MISC", "name": "https://github.com/cortexproject/cortex/releases/tag/v1.13.2" }, { "url": "https://github.com/cortexproject/cortex/releases/tag/v1.14.1", "refsource": "MISC", "name": "https://github.com/cortexproject/cortex/releases/tag/v1.14.1" } ] }, "source": { "advisory": "GHSA-cq2g-pw6q-hf7j", "discovery": "UNKNOWN" }, "impact": { "cvss": [ { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "version": "3.1" } ] } }