CVE-2022-23536

Alertmanager can expose local files content via specially crafted config

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.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.35%
Vendor Advisory cortexmetrics.io
Affected: cortexproject cortex
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-23536?
CVE-2022-23536 has been scored as a medium severity vulnerability.
How to fix CVE-2022-23536?
To fix CVE-2022-23536, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-23536 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-23536 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-23536?
CVE-2022-23536 affects cortexproject cortex.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.