CVE-2022-23536

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-23536
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23536.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-23536
Aliases
Related
Published
2022-12-19T22:15:10Z
Modified
2025-05-28T10:29:11.452883Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/cortexproject/cortex

Affected ranges

Type
GIT
Repo
https://github.com/cortexproject/cortex
Events

Affected versions

v0.*

v0.1.0
v0.1.0-rc.0
v0.2.0
v0.2.0-rc.0
v0.3.0
v0.3.0-rc.0
v0.4.0
v0.6.0
v0.6.0-rc.0
v0.7.0
v0.7.0-rc.0

v1.*

v1.0.0
v1.0.0-rc.0
v1.0.1
v1.1.0
v1.1.0-rc.0
v1.10.0
v1.10.0-rc.0
v1.10.0-rc.1
v1.12.0-rc.0
v1.13.0-rc.1
v1.13.1
v1.14.0
v1.2.0
v1.2.0-rc.1
v1.3.0
v1.3.0-rc.0
v1.3.0-rc.1
v1.3.0-rc.2
v1.4.0
v1.4.0-rc.0
v1.4.0-rc.1
v1.5.0
v1.5.0-rc.0
v1.5.0-rc.1
v1.6.0
v1.6.0-rc.0
v1.6.0-rc.1
v1.7.0
v1.7.0-rc.0
v1.7.0-rc.1
v1.7.0-rc.2
v1.7.1
v1.8.0
v1.8.0-rc.0
v1.8.0-rc.1
v1.8.1
v1.9.0
v1.9.0-rc.0