CVE-2022-23536
published medium CVSS 3.1 · 6.5Alertmanager can expose local files content via specially crafted config
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cortexproject | — | cortex>= 1.13.0, <= 1.13.1 · = 1.14.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cortexproject | cortex | >= 1.13.0, <= 1.13.1 (affected)= 1.14.0 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-73 CWE-73: External Control of File Name or Path
- CWE-184 CWE-184: Incomplete List of Disallowed Inputs
- CWE-641 CWE-641: Improper Restriction of Names for Files and Other Resources
References
4Provider assertions
3GitHub_M · cna
Alertmanager can expose local files content via specially crafted config
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b6a2aac6d0c837d40959d178a228a45d49e11582d2d8db89576313744ded4dcf
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record