CVE-2022-23536
Summary
| CVE | CVE-2022-23536 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-12-19 22:15:00 UTC |
| Updated | 2023-11-07 03:44:00 UTC |
| 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. |
Risk And Classification
Problem Types: NVD-CWE-noinfo
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Linuxfoundation | Cortex | 1.13.0 | All | All | All |
| Application | Linuxfoundation | Cortex | 1.13.1 | All | All | All |
| Application | Linuxfoundation | Cortex | 1.14.0 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| HTTP API | Cortex | MISC | cortexmetrics.io | |
| Release Cortex 1.13.2 · cortexproject/cortex · GitHub | MISC | github.com | |
| Release Cortex 1.14.1 · cortexproject/cortex · GitHub | MISC | github.com | |
| Alertmanager can expose local files content via specially crafted config · Advisory · cortexproject/cortex · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.