Security mailing lists by PureSourceCode

CVE-2022-23536

MEDIUM 6.5CVSS 3.1

Cortex's Alertmanager can expose local files content via specially crafted config

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.

Published
19 Dec 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-184CWE-641CWE-73
Also known as
GHSA-cq2g-pw6q-hf7jGO-2022-1175
Sources
NVDJSONOSV GHSA-cq2g-pw6q-hf7jJSONOSV GO-2022-1175JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxfoundation cortex
cpe:2.3:a:linuxfoundation:cortex:1.13.0:*:*:*:*:*:*:*
= 1.13.0
NVD linuxfoundation cortex
cpe:2.3:a:linuxfoundation:cortex:1.13.1:*:*:*:*:*:*:*
= 1.13.1
NVD linuxfoundation cortex
cpe:2.3:a:linuxfoundation:cortex:1.14.0:*:*:*:*:*:*:*
= 1.14.0
OSV Go github.com/cortexproject/cortex >= 1.14.0, < 1.14.1 1.14.1
OSV Go github.com/cortexproject/cortex >= 1.13.0, < 1.13.2 1.13.2
OSV Go github.com/cortexproject/cortex >= 1.13.0, < 1.13.2; >= 1.14.0, < 1.14.1 1.13.2, 1.14.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 19 Dec 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Dec 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.