6.5

CVE-2022-23536: cortexproject cortex External Control of File Name or Path

CVSS: 6.5v3.1MediumModified
AliasesGHSA-cq2g-pw6q-hf7jGO-2022-1175
Published 19-12-2022Last modified 16-04-2025

Vulnerability summary

CVE-2022-23536 is a medium (CVSS 6.5) External Control of File Name or Path vulnerability in cortexproject cortex. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 55.3% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.79%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 19-12-2022
    PublishedVulnerability first disclosed.
  2. 16-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.79%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

+0.03 pp

From 0.75% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.79%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Cortexproject1 product
  • cortex≥ 1.13.0, ≤ 1.13.1 | = 1.14.0
Github.com/cortexproject1 product
  • cortex≥ 1.13.0, < 1.13.2 | ≥ 1.14.0, < 1.14.1
Linuxfoundation1 product
  • cortex1.13.0 | 1.13.1 | 1.14.0

3 vendors · 3 products

References

8 links