{"api_version":"1","generated_at":"2026-07-23T14:24:56+00:00","cve":"CVE-2022-23536","urls":{"html":"https://cve.report/CVE-2022-23536","api":"https://cve.report/api/cve/CVE-2022-23536.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23536","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23536"},"summary":{"title":"CVE-2022-23536","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-12-19 22:15:00","updated_at":"2023-11-07 03:44:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://cortexmetrics.io/docs/api/#set-alertmanager-configuration","name":"https://cortexmetrics.io/docs/api/#set-alertmanager-configuration","refsource":"MISC","tags":[],"title":"HTTP API | Cortex","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/cortexproject/cortex/releases/tag/v1.13.2","name":"https://github.com/cortexproject/cortex/releases/tag/v1.13.2","refsource":"MISC","tags":[],"title":"Release Cortex 1.13.2 · cortexproject/cortex · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/cortexproject/cortex/releases/tag/v1.14.1","name":"https://github.com/cortexproject/cortex/releases/tag/v1.14.1","refsource":"MISC","tags":[],"title":"Release Cortex 1.14.1 · cortexproject/cortex · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j","name":"https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j","refsource":"MISC","tags":[],"title":"Alertmanager can expose local files content via specially crafted config · Advisory · cortexproject/cortex · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-23536","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23536","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"23536","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxfoundation","cpe5":"cortex","cpe6":"1.13.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"23536","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxfoundation","cpe5":"cortex","cpe6":"1.13.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"23536","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxfoundation","cpe5":"cortex","cpe6":"1.14.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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"}]}},"nvd":{"publishedDate":"2022-12-19 22:15:00","lastModifiedDate":"2023-11-07 03:44:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linuxfoundation:cortex:1.13.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linuxfoundation:cortex:1.13.1:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linuxfoundation:cortex:1.14.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"23536","Ordinal":"226378","Title":"CVE-2022-23536","CVE":"CVE-2022-23536","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"23536","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}