CVE-2022-23536 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cortexmetrics.io/docs/api/#set-alertmanager-configuration | CVE | Vendor Advisory |
| https://github.com/cortexproject/cortex/releases/tag/v1.13.2 | CVE | Release NotesThird Party Advisory |
| https://github.com/cortexproject/cortex/releases/tag/v1.14.1 | CVE | Release NotesThird Party Advisory |
| https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j | CVE | Third Party Advisory |
| https://cortexmetrics.io/docs/api/#set-alertmanager-configuration | [email protected] | Vendor Advisory |
| https://github.com/cortexproject/cortex/releases/tag/v1.13.2 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/cortexproject/cortex/releases/tag/v1.14.1 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-184 | Incomplete List of Disallowed Inputs | [email protected] |
| CWE-641 | Improper Restriction of Names for Files and Other Resources | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linuxfoundation cortex | 1.13.0 1.13.1 1.14.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Dec 27, 2022 | Initial Analysis | [email protected] |